Skip to content

Update sip line password

Generating a new password for a SIP-line

Method update.sip_line_password
Description Generating a new password for a SIP-line
Who has access Partner, Customer

Parameters of the 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"

Parameters of reply

Title Type Description
password string New password for registration

JSON request structure

{
  "jsonrpc": "2.0",
  "id": "number",
  "method": "update.sip_line_password",
  "params": {
    "access_token": "string",
    "user_id": "number",
    "id": "number"
  }
}

JSON reply structure

{
  "jsonrpc": "2.0",
  "id": "number",
  "result": {
    "password": "string"
  }
}

List of returning errors

Refer to the section "List of errors for the methods with the verb update"