Path parameters
-
Identifier for the Deployment
DELETE
/deployments/{deployment_id}
curl \
-X DELETE https://{{hostname}}/api/v1/deployments/{deployment_id}
Response examples (200)
{
"id": "string",
"name": "string",
"orphaned": {
"elasticsearch": [
{
"id": "string",
"dependents": [
{
"id": "string",
"kind": "string"
}
]
}
],
"kibana": [
"string"
],
"apm": [
"string"
],
"appsearch": [
"string"
],
"enterprise_search": [
"string"
],
"integrations_server": [
"string"
]
}
}
Response examples (400)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (401)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}