Delete space API
[experimental] This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features 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
DELETE <kibana host>:<port>/api/spaces/space/marketing
Response codes
204
Indicates a successful call.
404
Indicates that the request failed.