Creating a Backup Download Policy
Function
This API is used to create a backup download policy.
URI
POST /v3/{project_id}/backups/download-policy
Name |
Type |
IN |
Mandatory |
Description |
---|---|---|---|---|
project_id |
string |
path |
Yes |
Definition Project ID of a tenant in a region. To obtain the project ID, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
Request Parameters
Name |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Definition User token obtained from IAM. For details, see Authentication. Constraints N/A Range N/A Default Value N/A |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
action |
Yes |
String |
Definition Backup download switch. Constraints N/A Range
Default Value N/A |
Response Parameters
Status code: 200
Example Request
POST https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/backups/download-policy { "action" : "open" }
Example Response
Status code: 200
Success.
{ }
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