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

# Delete provider

> Deletes a provider integration and performs complete cascade cleanup including:
removal of all associated phone numbers, SIP credentials, and external resources (SIP trunks, credential lists).
This operation is irreversible and will affect any agents using phone numbers from this provider.

<Warning>This operation is irreversible and will permanently delete the provider and all associated resources.</Warning>

## Cascade Deletion

When you delete a provider, the following resources are also deleted:

* **Phone Numbers**: All phone numbers imported from this provider are removed
* **SIP Credentials**: Auto-configured SIP credentials for the provider are deleted
* **External Resources**: SIP trunks and credential lists in the provider's account are cleaned up

## Impact on Agents

If any agents are using phone numbers from this provider:

* Their inbound call routing will stop working
* Outbound calls using these phone numbers will fail
* You may need to reconfigure agents with new phone numbers

## Before Deleting

Consider using the provider's phone numbers endpoint to review what will be affected before proceeding.


## OpenAPI

````yaml https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/providers/{id}
openapi: 3.0.4
info:
  title: Dasha BlackBox Agent API
  description: API for managing AI agents and calls
  contact:
    name: DashaAI Team
    email: support@dasha.ai
  version: v1
servers:
  - url: https://blackbox.dasha.ai
    description: Dasha BlackBox Agent API
security:
  - {}
  - {}
tags:
  - name: ActivityLogs
  - name: Agents
  - name: CallResults
  - name: Calls
  - name: Chats
  - name: CustomerData
  - name: Mcp
  - name: Media
  - name: Misc
  - name: PronunciationDictionaries
  - name: Providers
  - name: SipAliases
  - name: SipCredentials
  - name: SipPhoneNumbers
  - name: TextChat
  - name: TwilioProvider
  - name: Voice
  - name: WebhookTest
  - name: WebIntegrations
  - name: WebSocket
    description: WebSocket endpoints for real-time communication
paths:
  /api/v1/providers/{id}:
    delete:
      tags:
        - Providers
      summary: Delete provider
      description: >-
        Deletes a provider integration and performs complete cascade cleanup
        including:

        removal of all associated phone numbers, SIP credentials, and external
        resources (SIP trunks, credential lists).

        This operation is irreversible and will affect any agents using phone
        numbers from this provider.
      parameters:
        - name: id
          in: path
          description: Provider identifier
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: Provider deleted successfully with all associated resources
        '401':
          description: Authentication failed or API key is missing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Access denied to the requested resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Provider with specified ID does not exist in your organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Server error occurred during provider deletion
components:
  schemas:
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}

````