Generating a new password for a SIP line
SIP Lines >
Generating a new password for a SIP line
Method
update.sip_line_password
Description
Generating a new password for a SIP line
Available to
Partner, Client
Request parameters
Name
Type
Required
Description
access_token
string
yes
Authentication session key
id
number
yes
Unique SIP line identifier
user_id
number
no
Unique identifier of the customer's user on whose behalf the request is made. Required for the agent. To obtain a list of customer users, call "get.customer_users" .
Response parameters
Name
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 response structure
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"password": "string"
}
}
List of returned errors
See "Errors for update methods".