You can call the UpdateRecordRemark operation to modify the remarks of a DNS record based on its ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:UpdateRecordRemark |
update |
*Zone
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en. |
en |
| RecordId |
integer |
Yes |
The ID of the DNS record. |
202991**** |
| Remark |
string |
No |
The remarks. |
test record |
| ClientToken |
string |
No |
A client token used to ensure the idempotence of a request. The client generates this value, which must be unique across different requests. The token can be up to 64 ASCII characters in length. |
6447728c8578e66aacf062d2df4446dc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0B7AD377-7E86-44A8-B9A8-53E8666E72FE |
| RecordId |
integer |
The ID of the DNS record. |
202991**** |
Examples
Success response
JSON format
{
"RequestId": "0B7AD377-7E86-44A8-B9A8-53E8666E72FE",
"RecordId": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Zone.Remark | 50 characters long. It can only contain numbers,Chinese,English and special characters: _ - , . ,。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.