Detach a phone number from the agent that answers it
A pure control-plane unbind: the number stays imported and owned by the workspace, its Number rules become disabled, and no carrier or provider operation happens. Inbound calls are then declined until an agent is attached again or the rules are changed. A number whose rules already answer without an agent replays as a no-op with idempotent: true. Optionally name the binding your confirmation showed with expected_agent_id, or expected_agent_endpoint_id for a rule that answers through an endpoint alone; if the number meanwhile answers with a different one the command refuses with 409 instead of detaching it.
post/v1/phone-numbers/{number_id}/detach-agent
Request
- Base URL: https://api.skysay.ai
- URL: https://api.skysay.ai/v1/phone-numbers/{number_id}/detach-agent
- Auth: none declared
Request body
Response
Number rules after the detach
Changes
No recorded changes to this operation across all 1 revision of this API.