call_routing_rule.delete
Description
Delete one call routing rule.
Arguments
name | value type | required |
---|---|---|
object_name | the 'name' parameter of a call_routing_rule 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 one call routing rule.
{
    'method' => 'call_routing_rule.delete',
    'parameters' => {
        'object_id' => '23'
    }
} |
Response
{
          'result' => 'success'
 } |
Or
{
          'result' => 'error',
          'error' => 'An Error String',
          'error_key' => 'AN_ERROR_LANGUAGE_KEY',
 } |