kibana/docs/api/spaces-management/delete.asciidoc
Kaarina Tungseth 925dfab588
[DOCS] New template for APIs (#39298)
* Clean up

* Dashboard export API

* More changes

* role-management and saved-objects

* Clean up

* Final clean up

* Clean up

* Moved labels to appropriate places

* Fixed rogue commits
2019-09-06 11:09:57 -05:00

25 lines
707 B
Text

[[spaces-api-delete]]
=== Delete space API
++++
<titleabbrev>Delete space</titleabbrev>
++++
Deletes a {kib} space.
WARNING: When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.
experimental["This API is *experimental* and may be changed or removed completely in a future release. The underlying Spaces concepts are stable, but the APIs for managing Spaces are currently experimental."]
[[spaces-api-delete-request]]
==== Request
`DELETE /api/spaces/space/marketing`
[[spaces-api-delete-errors-codes]]
==== Response codes
`204`::
Indicates a successful call.
`404`::
Indicates that the request failed.