Calls

Remove voice provider configuration (superadmin)

DELETE
/api/calls/providers/config/{provider}

Deletes the named provider from OrganizationCredentials.voiceProviders, unsets it as the active provider if applicable, clears the matching legacy flat credential fields, and releases the caller's lines on that provider. A short code line linked to the caller is left as it is. Superadmin only. Path value must be twilio or sinch.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

provider*string

Voice provider to remove.

Value in

  • "twilio"
  • "sinch"

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/calls/providers/config/twilio"
{  "success": true,  "message": "Configuration saved"}