Edit System Prompt
Switch the system prompt language of the system.
Request URL
POST {base_url}/{api_path}/system_prompt/update?access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| language | Yes | String | The language code of the system prompt to apply (e.g., "sound-en"). Note: You can query the language codes of the available system
prompts using Query System Prompt List. |
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/system_prompt/update?access_token=gwakjgu9ZBUfz36wql4ndsVKkryI0kdj HTTP/1.1
Host: 192.168.5.150:8088
Content-Type: application/json
{
"language": "sound-zh"
}
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS"
}