Edit Linkus Server Settings
Edit the Linkus server settings.
Request URL
POST {base_url}/{api_path}/extension_linkusserver/update?access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| config_type | No | Integer | Specify how to apply the configuration. Valid value:
|
| enable_extension_login | No | Integer | Whether to allow users to log in to Linkus using their extension numbers.
Valid value:
Note: At least one of
enable_extension_login and enable_email_login
must be set to 1. |
| enable_email_login | No | Integer | Whether to allow users to log in to Linkus using their email
addresses. Valid value:
Note: At least one of
enable_extension_login and enable_email_login
must be set to 1. |
| linkus_mobile_codec | No | String | Specify the codecs supported by Linkus Mobile Clients. Note: Use a comma to separate multiple codecs. Valid value:
|
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
Example
Request example
POST /openapi/v1.0/extension_linkusserver/update?access_token=xVx9wX2B38gSD0C2o4y9b9bd5QOPz2MK HTTP/1.1
Host: yeastardocs.example.yeastarcloud.com
Content-Type: application/json
{
"config_type": 1
}
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS"
}