> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tai42.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a connector provider added by its address

> Remove a removable provider and its stored clients.

A provider that is not removable here is a 409 naming where it is managed; a provider with a
LIVE connection is a 409 naming the count. A connection whose session has lapsed is purged first,
through the disconnect routine. The manifest change comes before the client rows are deleted, so a
failed change leaves them; a failed deletion after it is raised, and running the remove again
deletes the rows left under the id (nothing else holds it any more; no manifest change, so no
fan-out).



## OpenAPI

````yaml /openapi.json delete /api/connectors/providers/{provider_id}
openapi: 3.1.0
info:
  description: >-
    The operator HTTP surface served under /api/*. The platform's core routes.
    Plugin routes are published by each plugin.
  title: tai42-skeleton API
  version: 23.0.0
servers: []
security: []
paths:
  /api/connectors/providers/{provider_id}:
    delete:
      tags:
        - connectors
      summary: Remove a connector provider added by its address
      description: >-
        Remove a removable provider and its stored clients.


        A provider that is not removable here is a 409 naming where it is
        managed; a provider with a

        LIVE connection is a 409 naming the count. A connection whose session
        has lapsed is purged first,

        through the disconnect routine. The manifest change comes before the
        client rows are deleted, so a

        failed change leaves them; a failed deletion after it is raised, and
        running the remove again

        deletes the rows left under the id (nothing else holds it any more; no
        manifest change, so no

        fan-out).
      operationId: delete_api_connectors_providers_provider_id
      parameters:
        - in: path
          name: provider_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/RemoveProviderResponse'
                required:
                  - data
                type: object
          description: Success.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Resource not found.
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Conflict with the current resource state.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReloadingError'
          description: The server is applying a config reload; retry shortly.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RemoveProviderResponse:
      description: >-
        A removed provider, how many stored clients went with it, and the fleet
        report of the manifest write.
      properties:
        fanout:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          title: Fanout
        provider_id:
          title: Provider Id
          type: string
        removed_clients:
          title: Removed Clients
          type: integer
      required:
        - provider_id
        - removed_clients
      title: RemoveProviderResponse
      type: object
    Error:
      properties:
        code:
          description: >-
            Stable machine-readable reason a client keys a dedicated error state
            on, present on refusals that opt in (e.g. a 501 not-configured
            refusal). Optional: absent when the error carries only a
            human-readable message.
          type: string
        error:
          type: string
      required:
        - error
      type: object
    ReloadingError:
      properties:
        error:
          const: reloading — the server is applying a config reload; retry shortly
          type: string
        reloading:
          const: true
          type: boolean
      required:
        - error
        - reloading
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.