Updates a Nacos configuration.
Operation description
Note
The current API operation is not provided in Nacos SDK. For more information about Nacos SDK, see the official documentation.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. | mse-cn-7pp2a**** |
DataId | string | Yes | The ID of the configuration. | ky-check-****.yml |
Group | string | Yes | The name of the group. | resource |
AppName | string | No | The name of the application. | postoffice |
Tags | string | No | The list of tags. | 2021-10-20 |
Desc | string | No | The description of the configuration. | Basic configurations |
Type | string | No | The format of the configuration. Supported formats include TEXT, JSON, XML, and HTML. | text |
Content | string | No | The content of the configuration. | attribute1=1221111\r\nattribute2=Chinese\r\nattribute3=abc11\r\nattribute4=1.00111 |
NamespaceId | string | No | The ID of the namespace. | 78b7af66-d15f-4541-b886-11ed81ecb6c0 |
Md5 | string | No | The MD5 value of the configuration. | 045439703a273a94306422b**** |
BetaIps | string | No | The list of IP addresses where the beta release of the configuration is performed. | 196.168.XX.XX |
EncryptedDataKey | string | No | The encryption key. | 122wdwe**** |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpCode": "200",
"Message": "The request was successfully processed.\n",
"RequestId": "69AD2AA7-DB47-449B-941B-B14409DF****",
"ErrorCode": "NoPermission",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
404 | NotFound | Not found:%s | The resource does not exist:%s |
500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-28 | The internal configuration of the API is changed, but the call is not affected | View Change Details |