Delete a space
When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.
Headers
-
elastic-api-version string
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
. -
A required header to protect against CSRF attacks
Path parameters
-
The space identifier.
DELETE
/api/spaces/space/{id}
curl \
-X DELETE https://localhost:5601/api/spaces/space/{id} \
-H "elastic-api-version: 2023-10-31" \
-H "kbn-xsrf: true"