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:

  • all: Enable or disable Linkus client for all extensions.
  • an extension number: Enable or disable Linkus client for the specific extension.
  • Multiple extension numbers: Enable or disable Linkus client for multiple extensions. Separate multiple extension numbers with ,.
enablelinkus yes String Linkus client status.

Valid values:

  • on: Enable Linkus client.
  • off: Disable Linkus client.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed
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"
}
Response example
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"
}