Memperbarui deskripsi cadangan.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /api/v1/backups/{id}/desc HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| id |
string |
No |
ID cadangan. |
1597404937581527041 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-hangzhou |
| body |
object |
No |
Badan permintaan. |
|
| instanceId |
string |
No |
The instance ID. |
hgpostcn-cn-721344a2z001 |
| desc |
string |
No |
The backup description. |
back up test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
87060182-4B69-5C3D-B3A1-A944D20138A7 |
| Data |
boolean |
The result of the operation. A value of 'true' indicates that the backup description was updated successfully. |
true |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code. |
404 |
| ErrorMessage |
string |
The error message. |
Internal server error. |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "87060182-4B69-5C3D-B3A1-A944D20138A7",
"Data": true,
"Success": true,
"ErrorCode": "404",
"ErrorMessage": "Internal server error.",
"HttpStatusCode": "200"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.