Deleting Manual Backups in Batches
Function
This API is used to delete manual backups of a DB instance in batches.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
dds:backup:delete
write
-
-
-
-
URI
DELETE /v3/{project_id}/instances/backups
|
Name |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
project_id |
string |
path |
Yes |
Project ID of a tenant in a region. To obtain the project ID, see Obtaining a Project ID. |
Request Parameters
|
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. For details, see Authentication. |
|
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
|
backup_ids |
Yes |
Array of strings |
IDs of manual backups to be deleted in batches. No more than 10 manual backups can be deleted at a time. |
Response Parameters
None
Example Request
Deleting the manual backup whose ID is b1eaeb36d03946c988e806db91e5e4fbbr02
{
"backup_ids" : [ "b1eaeb36d03946c988e806db91e5e4fbbr02" ]
}
Example Response
None
SDK
Click Document Database Service DDS SDK to download the SDK or view the SDK document. To learn how to install and authenticate an SDK, read the Usage section.
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot