Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Code Block
{
    'method' => 'sip_endpoint.delete',
    'parameters' => {
        'object_id' => '23'
    }
}

Or

Code Block
{
    'method' => 'sip_endpoint.delete',
    'parameters' => {
        'object_name' => 'testunit'
    }
}

Response

Code Block
{
          'result' => 'success'
          'invalid_rules' => [],
          'invalid_groups' => [],
 }

...