> ## 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 SIP credential

> Deletes a SIP credential from your organization. If the credential is associated with phone numbers,
use the force parameter to automatically delete all associated phone numbers before deleting the credential.

## Deletion Modes

**Normal deletion** (force=false):

* Fails if credential has associated phone numbers
* Returns 409 Conflict if phone numbers are using this credential

**Force deletion** (force=true):

* Automatically deletes all associated phone numbers
* Updates affected agents to remove phone number references
* Completes deletion even if phone numbers were using the credential

<Warning>Force deletion will permanently delete all phone numbers associated with this credential, which may affect agents configured to use those numbers for inbound or outbound calls.</Warning>

<Warning>Credentials managed by a VoIP provider (such as Twilio) are read-only and cannot be deleted directly. To remove provider-managed credentials, delete the provider integration instead.</Warning>

## Best Practice

Check affected agents before deletion using the `/affected-agents` endpoint to understand the impact.


## OpenAPI

````yaml https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/sip-credentials/{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:
  - ApiKey: []
  - OAuth: []
tags:
  - name: ActivityLogs
  - name: Agents
  - name: AgentTestCases
  - name: CallResults
  - name: Calls
  - name: Chats
  - name: Copilot
  - 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/sip-credentials/{id}:
    delete:
      tags:
        - SipCredentials
      summary: Delete SIP credential
      description: >-
        Deletes a SIP credential from your organization. If the credential is
        associated with phone numbers,

        use the force parameter to automatically delete all associated phone
        numbers before deleting the credential.
      parameters:
        - name: id
          in: path
          description: Credential identifier
          required: true
          schema:
            type: string
            format: uuid
        - name: force
          in: query
          description: Force deletion by removing associated phone numbers
          schema:
            type: boolean
            default: false
      responses:
        '204':
          description: SIP credential deleted successfully
        '401':
          description: Authentication failed or API key is missing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Cannot delete credentials managed by provider
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: SIP credential with specified ID does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '409':
          description: >-
            SIP credential has associated phone numbers (use force=true to
            override)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Server error occurred during SIP credential 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: {}
  securitySchemes:
    ApiKey:
      type: http
      description: API Key Authentication (Bearer {key})
      scheme: Bearer
    OAuth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://auth.dasha.ai/connect/authorize
          scopes:
            platform_api: Platform API

````