kibana/docs/api/spaces-management/delete.asciidoc
Kaarina Tungseth 09934d6645
[DOCS] API intro (#47164) (#48460)
* [DOCS] API intro

* Logstash configuration management

* Reformatting

* Comments from Josh

* Commets from Gail

* Fixed broken things
2019-10-16 16:01:18 -05:00

25 lines
607 B
Text

[[spaces-api-delete]]
=== Delete space API
++++
<titleabbrev>Delete space</titleabbrev>
++++
Delete a {kib} space.
experimental["The underlying Spaces concepts are stable, but the APIs for managing Spaces are experimental."]
WARNING: When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.
[[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.