IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete space
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete space
editThis 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.
Deleting a space will automatically delete all saved objects that belong to that space. This operation cannot be undone!
Note: You cannot access this endpoint via the Console in Kibana.
Request
editTo delete a space, submit a DELETE request to the /api/spaces/space/<space_id>
endpoint:
DELETE /api/spaces/space/marketing
Response
editIf the space is successfully deleted, the response code is 204
; otherwise, the response
code is 404.