getDeploymentCancellationOptions
This API operation and its parameters support the request to get SAP Commerce Cloud deployment cancellation options.
Command
GET https://portalapi.commerce.ondemand.com/v2/subscriptions/{subscriptionCode}/deployments/{deploymentCode}/cancellationoptions
Parameters
| Name | Required | Description |
|---|---|---|
|
subscriptionCode string (path) |
Yes | The code of the subscription associated to the canceled deployment.
You can find the subscription code in the Cloud Portal URL. It appears after subscription/ in the URL. |
|
deploymentCode string (path) |
Yes | The code of a specific deployment.
You can find the deployment code in the Cloud Portal URL. It appears after deployments/ in the URL. |
Responses
The response content type is application/json.
| Code | Description |
|---|---|
| 200 | OK
Example Value {
"databaseRollbackRestoreTimestamp": "2019-12-03T15:25:53.650Z"
} |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | No cancellation options found for the deployment |
| 501 | This resource is currently disabled |