Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bdrc:UpdateResources | none | *All Resource
| None | None |
Request syntax
POST /api/v1/resources/update HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
ResourceType | string | No | The resource type. If this parameter is not specified, all types of resources are updated. | ACS::ECS::Instance |
Response elements
Element | Type | Description | Example |
object | |||
| Data | object | The returned data. | |
TaskId | string | The unique identity of the asynchronous task. | t-bp1ewftyzmeg3bl4dtd2 |
RequestId | string | The unique identity of the request. | 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5 |
Examples
Success response
JSON format
{
"Data": {
"TaskId": "t-bp1ewftyzmeg3bl4dtd2"
},
"RequestId": "5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.