Delete an Elasticsearch project
Headers
-
If-Match string
ETag value fetched in a previous GET project request. Used to prevent simultaneous updates
Path parameters
-
The ID of the project
Format should match the following pattern:
^[a-z0-9]{32}$
.
DELETE /api/v1/serverless/projects/elasticsearch/{id}
curl \
-X DELETE https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch/{id} \
-H "If-Match: string"
Response examples (404)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}
Response examples (409)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}
Response examples (412)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}