Agent inbound links
Removes a single agent↔trunk association identified by link_id. This de-links one agent from one trunk without deleting either the agent or the trunk. On success the endpoint returns { "success": true }.
curl --request DELETE \
--url 'https://api.nabrah.ai/api/ext/agent-inbound-link/<link_id>' \
--header 'X-API-Key: <your-api-key>'{
"success": false
}A link_id identifies the association, not the agent or the trunk.
Captured from the response of POST /api/ext/agent-inbound-link, or read from GET /api/ext/agent-inbound-link where each item carries its link_id.
A link that does not exist, or belongs to another workspace, returns 404. A malformed UUID returns 422.
DELETE /api/ext/sip-inbound/{sip_id} refuses with 400 ("Cannot delete SIP Inbound that is linked to agents") for as long as any agent is linked. Remove every link with this endpoint first, then delete the trunk.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
link_idstringrequiredUUID of the agent↔trunk link to remove.
Get this from POST /api/ext/agent-inbound-link or from GET /api/ext/agent-inbound-link.
Successful Response
application/json
Validation Error
application/json