createDatabackup
This API operation and its parameters support the request to create a data backup.
Command
POST https://portalapi.commerce.ondemand.com/v2/subscriptions/{subscriptionCode}/environments/{environmentCode}/databackups
Parameters
| Name | Required | Description |
|---|---|---|
|
body (body) |
Yes |
Example Value | Schema {
"description": "string"
}
description - the description of the data backup. |
|
subscriptionCode string (path) |
Yes | Customer subscription code.
You can find the subscription code in the Cloud Portal URL. It appears after subscription/ in the URL. |
|
environmentCode string (path) |
Yes | The code of the environment where the data backup will be created. You can find the environment code in the Cloud Portal URL. It appears after environments/ in the URL. |
Responses
The response content type is application/json.
| Code | Description |
|---|---|
| 201 | Created
Example Value | Schema {
"subscriptionCode": "string",
"environmentCode": "string",
"databackupCode": "string"
} |
| default | Generic error message
Example Value | Schema {
"title": "string",
"detail": "string"
} |