kibana/docs/api/spaces-management/delete.asciidoc
Kaarina Tungseth fda3196611
[DOCS] Updates API requests and examples (#60695)
* [DOCS] Updates API requests and examples

* Review comments
2020-03-20 16:33:20 -05:00

23 lines
525 B
Text

[[spaces-api-delete]]
=== Delete space API
++++
<titleabbrev>Delete space</titleabbrev>
++++
experimental[] Delete 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.
[[spaces-api-delete-request]]
==== Request
`DELETE <kibana host>:<port>/api/spaces/space/marketing`
[[spaces-api-delete-errors-codes]]
==== Response codes
`204`::
Indicates a successful call.
`404`::
Indicates that the request failed.