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

# Remover um conector

> Remove a connector from the SecretStore.

If this was the last connector of its type, also removes the Prefect
deployment so stale scheduled runs no longer appear in the Prefect UI.

Refuses deletion when this is the last connector of its type AND there are
dbt transformation models that reference raw tables from this connector
(detected via ``delta_scan(...)`` paths).  Deleting the connector would
cause dbt to fail on the next run and leave clean/ tables stale.



## OpenAPI

````yaml /api-reference/catalog-api.json delete /connectors/{connector_id}
openapi: 3.1.0
info:
  title: Strattum Catalog API
  description: Expõe a estrutura do data lake — camadas, conectores e tabelas.
  version: 0.1.0
servers: []
security: []
paths:
  /connectors/{connector_id}:
    delete:
      tags:
        - connectors
      summary: Remover um conector
      description: >-
        Remove a connector from the SecretStore.


        If this was the last connector of its type, also removes the Prefect

        deployment so stale scheduled runs no longer appear in the Prefect UI.


        Refuses deletion when this is the last connector of its type AND there
        are

        dbt transformation models that reference raw tables from this connector

        (detected via ``delta_scan(...)`` paths).  Deleting the connector would

        cause dbt to fail on the next run and leave clean/ tables stale.
      operationId: delete_connector_connectors__connector_id__delete
      parameters:
        - name: connector_id
          in: path
          required: true
          schema:
            type: string
            title: Connector Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````