You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

DescriptionDelete a deployment policy.
Resource Path

/deploymentPolicies/{deploymentPolicyId}

HTTP MethodDELETE
Request/Response Formatapplication/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}
 

Error rendering macro 'excerpt-include'

No link could be created for 'STRATOS:4.1.0 Deleting a Deployment Policy via CLI'.


REST API response

HTTP status code

204, 404, 500

See the descriptions of the HTTP status codes here.

  • No labels