Skip to content

Delete sip lines

Deleting a SIP-line

Method delete.sip_lines
Description Deleting a SIP-line
Who has access Partner, Customer

Parameters of a request

Title Type Required Description
access_token string yes Authentication session key
id number yes SIP-line unique ID
user_id number no Unique ID of an agent's customer user who makes request
Is required for agent
To access a list of customer users, use the method "get.customer_users"

JSON request structure

{
  "jsonrpc": "2.0",
  "id": "number",
  "method": "delete.sip_lines",
  "params": {
    "access_token": "string",
    "user_id": "number",
    "id": "number"
  }
}

JSON reply structure

{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{

  }
}

List of returning errors

Refer to "List of errors for the methods with the verb delete"