JavaScript
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://blackbox.dasha.ai/api/v1/sip-phone-numbers/{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>" }
Deletes a SIP phone number from your organization. If the phone number is linked to agents, use the force parameter to automatically remove the link before deletion.
/affected-agents
Phone number identifier
Force deletion by unlinking from agents
Phone number deleted successfully
Was this page helpful?