Delete Deploymentedit
Deletes a Deployment and all its resources.
Requestedit
DELETE /api/v1/deployments/{deployment_id}
Path parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the Deployment |
Responsesedit
-
200
-
(
DeploymentDeleteResponse
) The request was valid and the deployment was deleted. -
400
-
(
BasicFailedReply
) The Deployment resources have not been shutdown yet. -
401
-
(
BasicFailedReply
) You are not authorized to perform this action. -
404
-
(
BasicFailedReply
) The Deployment specified by {deployment_id} cannot be found. (code:deployments.deployment_not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.deployment_not_found
]) - The error codes associated with the response
-
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request exampleedit
curl -XDELETE https://{{hostname}}/api/v1/deployments/{deployment_id} \ -H "Authorization: ApiKey $ECE_API_KEY"