curl -X DELETE https://api.telzino.com/v1/agents/123e4567-e89b-12d3-a456-426614174000/sip/registration \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const agentId = '123e4567-e89b-12d3-a456-426614174000';
const response = await fetch(
`https://api.telzino.com/v1/agents/${agentId}/sip/registration`,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const result = await response.json();
import requests
agent_id = '123e4567-e89b-12d3-a456-426614174000'
response = requests.delete(
f'https://api.telzino.com/v1/agents/{agent_id}/sip/registration',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
result = response.json()
{
"success": true
}
{
"error": "unauthorized",
"error_description": "User payload not found"
}
{
"error": "forbidden",
"error_description": "Cannot update vida agents via this API"
}
{
"error": "not_found",
"error_description": "Agent not found or access denied"
}
Agents
Delete SIP Registration
Remove SIP registration data from an agent, unregistering it from the PBX
DELETE
/
v1
/
agents
/
{agentId}
/
sip
/
registration
curl -X DELETE https://api.telzino.com/v1/agents/123e4567-e89b-12d3-a456-426614174000/sip/registration \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const agentId = '123e4567-e89b-12d3-a456-426614174000';
const response = await fetch(
`https://api.telzino.com/v1/agents/${agentId}/sip/registration`,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const result = await response.json();
import requests
agent_id = '123e4567-e89b-12d3-a456-426614174000'
response = requests.delete(
f'https://api.telzino.com/v1/agents/{agent_id}/sip/registration',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
result = response.json()
{
"success": true
}
{
"error": "unauthorized",
"error_description": "User payload not found"
}
{
"error": "forbidden",
"error_description": "Cannot update vida agents via this API"
}
{
"error": "not_found",
"error_description": "Agent not found or access denied"
}
Path Parameters
string
required
The unique identifier of the agent (UUID format)
curl -X DELETE https://api.telzino.com/v1/agents/123e4567-e89b-12d3-a456-426614174000/sip/registration \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const agentId = '123e4567-e89b-12d3-a456-426614174000';
const response = await fetch(
`https://api.telzino.com/v1/agents/${agentId}/sip/registration`,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const result = await response.json();
import requests
agent_id = '123e4567-e89b-12d3-a456-426614174000'
response = requests.delete(
f'https://api.telzino.com/v1/agents/{agent_id}/sip/registration',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
result = response.json()
{
"success": true
}
{
"error": "unauthorized",
"error_description": "User payload not found"
}
{
"error": "forbidden",
"error_description": "Cannot update vida agents via this API"
}
{
"error": "not_found",
"error_description": "Agent not found or access denied"
}
What Happens
- The agent’s
sip_registration_datais set tonull - The sync service detects the change and unregisters the agent from OpenSIPS
- The agent will stop receiving inbound SIP calls
This action is immediate. The agent will stop receiving calls as soon as the sync service processes the change. To re-enable SIP registration, use the Set SIP Registration endpoint.
⌘I
