This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Delete space API
editDelete space API
edit[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Delete a Kibana space.
When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.
Request
editDELETE <kibana host>:<port>/api/spaces/space/<space_name>
Response codes
edit-
204
- Indicates a successful call.
-
404
- Indicates that the request failed.