Delete a space

DELETE /api/spaces/space/{id}

When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • id string Required

    The space identifier.

Responses

  • Indicates a successful call.

  • Indicates that the request failed.

DELETE /api/spaces/space/{id}
curl \
 -X DELETE https://localhost:5601/api/spaces/space/{id} \
 -H "kbn-xsrf: true"