Description | Delete a deployment policy. |
Resource Path |
|
HTTP Method | DELETE |
Request/Response Format | application/json |
You will not be allowed to delete deployment polices that are being used by applications that have been already deployed. If a deployment policy is being used by a deployed application, you will have to first undeploy the application to be able to delete the corresponding deployment policy.
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://<STRATOS_HOST>:<STRATOS_HTTPS_PORT>/api/deploymentPolicies/{deploymentPolicyId}
HTTP status code | 204, 404, 500 See the descriptions of the HTTP status codes here. |