call_routing_group.delete
Description
Delete a call routing group. This action may invalidate call routing rules.
Arguments
name | value type | required |
---|---|---|
object_name | the 'name' parameter of a sip endpoint object | yes, if no object_id specified |
object_id | integer representing the auto-increment field from the database | yes, if no object_name specified |
Example Requests & Responses
Example One
Request
Delete a call routing group.
{
    'method' => 'call_routing_group.delete',
    'parameters' => {
          'object_name' => 't1 group'
        } |
Response
{
          'result' => 'success'
 } |
Or
{
          'result' => 'error',
          'error' => 'An Error String',
          'error_key' => 'AN_ERROR_LANGUAGE_KEY',
 } |