Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to modify the attribute information of a specified KV namespace. Currently supported is namespace description modification.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyEdgeKVNamespace. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Zone ID. |
| Namespace | Yes | String | Namespace name. |
| Remark | No | String | Namespace description. Used to describe the purpose or business meaning of a namespace. Supports a maximum of 256 characters. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Modify the description of namespace ns-011 under site zone-3j1xw7910arp to second remark.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyEdgeKVNamespace
<Common request parameters>
{
"ZoneId": "zone-3j1xw7910arp",
"Namespace": "ns-011",
"Remark": "second remark"
}
{
"Response": {
"RequestId": "306476ec-7647-482e-a7c2-f722e4f05813"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InvalidParameter.RemarkTooLong | Namespace remark information is too long. |
| InvalidParameterValue | Invalid parameter value. |
| ResourceUnavailable.NamespaceNotFound | KV namespace does not exist. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback