Skip to main content
DELETE
/
api
/
v1
/
sip
/
alias
Delete an alias from a SIP endpoint for an agent
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/sip/alias', 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>"
}

Query Parameters

agentId
string
required

Unique agent identifier

alias
string
required

Alias to delete

Response

Alias deleted successfully