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