Detach an inbound source from an agent

View as Markdown

Stops the agent answering on the source. sourceId is the phone number product ID or inbound trunk ID (not the binding ID). Requires an admin-role key.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

agentIdstringRequired
sourceIdstringRequired

Response

Source detached
statusbooleanOptional
dataobjectOptional

Errors

404
Not Found Error