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

# Remove encrypted provider credentials

> Requires a tenant admin or operator Bearer token.



## OpenAPI

````yaml /openapi/openapi.yaml delete /banks/accounts/{id}/credentials
openapi: 3.1.0
info:
  title: Tahsil API
  version: 1.0.0
  description: >-
    Tahsil müşterilerinin web ve mobil uygulamalarda kullandığı tenant-scoped
    müşteri API sözleşmesi.
servers:
  - url: https://api.tahsil.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Operations - Health
    description: Public liveness and dependency readiness probes.
  - name: Identity - Auth
    description: User login, refresh and logout flows for token-based access.
  - name: Banking - Accounts
    description: Bank account aggregation endpoints available to customer tenants.
  - name: Banking - Transactions
    description: Bank transaction ingestion and retrieval endpoints.
  - name: Banking - Automation
    description: Tenant transaction matching rules, assignments and historical runs.
  - name: Banking - Polling
    description: Polling schedule definitions for bank connector queries.
  - name: Banking - Dashboard
    description: Flexible tenant dashboard analytics and widget query endpoints.
  - name: Audit - Connector Logs
    description: Customer-visible bank connector request/response audit trail.
  - name: Payments - Orchestration
    description: Tenant Virtual POS, rate plan and payment intent orchestration.
paths:
  /banks/accounts/{id}/credentials:
    parameters:
      - $ref: '#/components/parameters/Id'
      - name: x-company-id
        in: header
        required: true
        schema:
          type: string
        description: Target tenant company id for the provider connection.
    delete:
      tags:
        - Banking - Accounts
      summary: Remove encrypted provider credentials
      description: Requires a tenant admin or operator Bearer token.
      operationId: deleteBanksAccountsByIdCredentials
      responses:
        '200':
          $ref: '#/components/responses/ItemResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
  responses:
    ItemResponse:
      description: Single entity response
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: boolean
              result:
                type: object
                additionalProperties: true
          example:
            status: true
            result:
              id: 64f000000000000000000001
    ErrorResponse:
      description: Request failed
      content:
        application/json:
          schema:
            type: object
            required:
              - status
            properties:
              status:
                type: boolean
                const: false
              error:
                type: object
                additionalProperties: true
          example:
            status: false
            error:
              code: AUTHENTICATION_REQUIRED
              message: Authentication is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

## Related topics

- [Read encrypted provider credential status](/api-reference/banking--accounts/read-encrypted-provider-credential-status.md)
- [Store or rotate encrypted provider credentials](/api-reference/banking--accounts/store-or-rotate-encrypted-provider-credentials.md)
- [Remove bank account connector](/api-reference/banking--accounts/remove-bank-account-connector.md)
- [List normalized provider connection field metadata](/api-reference/banking--accounts/list-normalized-provider-connection-field-metadata.md)
- [Discover and persist provider sub-accounts](/api-reference/banking--accounts/discover-and-persist-provider-sub-accounts.md)
