End of Life Products and Features - sip_endpoint.delete
Description
Delete one sip endpoint.
Arguments
name | required | value type |
---|---|---|
object_name | yes, if no object_id specified | the 'name' parameter of a sip endpoint object |
object_type | no | sip_endpoint |
object_id | yes, if no object_name specified | integer representing the auto-increment field from the database |
Example Requests & Responses
Example One
Request
Request deletion of one sip endpoint object by the gateway's database object_id or object_name. If the deletion was successful, the gateway will also return a list of call routing groups and call routing rules which have been invalidated by the deletion of this endpoint.
{
'method' => 'sip_endpoint.delete',
'parameters' => {
'object_id' => '23'
}
} |
Or
{
'method' => 'sip_endpoint.delete',
'parameters' => {
'object_name' => 'testunit'
}
} |
Response
{
'result' => 'success'
'invalid_rules' => [],
'invalid_groups' => [],
} |
Or
{
'result' => 'error',
'error' => 'An Error String',
} |
Related content
End of Life Products and Features - sip_endpoint.save
End of Life Products and Features - sip_endpoint.save
More like this
End of Life Products and Features - sip_endpoint.list
End of Life Products and Features - sip_endpoint.list
More like this
End of Life Products and Features - sip_endpoints.list
End of Life Products and Features - sip_endpoints.list
More like this
End of Life Products and Features - sip_settings.list
End of Life Products and Features - sip_settings.list
More like this
End of Life Products and Features - call_routing_group.delete
End of Life Products and Features - call_routing_group.delete
More like this
End of Life Products and Features - call_routing_rule.delete
End of Life Products and Features - call_routing_rule.delete
More like this