mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Update the `DELETE` request to use `<space_name>`. Thanks @Erni for the nudge! Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
23 lines
528 B
Text
23 lines
528 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/<space_name>`
|
|
|
|
[[spaces-api-delete-errors-codes]]
|
|
==== Response codes
|
|
|
|
`204`::
|
|
Indicates a successful call.
|
|
|
|
`404`::
|
|
Indicates that the request failed.
|