IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete Deployment
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete Deployment
editDeletes a Deployment and all its resources.
Request
editDELETE /api/v1/deployments/{deployment_id}
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
Identifier for the Deployment |
Responses
edit-
200 -
The request was valid and the deployment was deleted.
-
400 -
The Deployment resources have not been shutdown yet.
-
401 -
You are not authorized to perform this action.
-
404 -
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
-
Request example
editcurl -XDELETE https://{{hostname}}/api/v1/deployments/{deployment_id} \
-H "Authorization: ApiKey $ECE_API_KEY"