Skip to main content
DELETE
/
api
/
v1
/
providers
/
{id}
Delete provider
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/providers/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}
This operation is irreversible and will permanently delete the provider and all associated resources.

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.

Path Parameters

id
string<uuid>
required

Provider identifier

Response

Provider deleted successfully with all associated resources