Enable or Disable Linkus Client
For S50, S100, and S300, you can enable or disable Linkus client for specific extensions.
Request URL
{base_url}/{api_path}/linkus/update_client?token={token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
number | yes | String | The extension number. Valid values:
|
enablelinkus | yes | String | Linkus client status. Valid values:
|
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
failed | String | The extensions and error code that failed to enable or disable the Linkus client. |
Examples
Request example
POST /api/v2.0.0/linkus/update_client?token=1e3b3ebb6a974cb42ed31de5413df52d Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "number": "all", "enablelinkus":"on" }
HTTP/1.1 200 OK Server: Boa/0.94.14rc21 Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status":"Success", "failed":"1001:10006" }