When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone.
DELETE /api/spaces/space/{id}
curl \ --request DELETE 'https://<KIBANA_URL>/api/spaces/space/{id}' \ --header "Authorization: $API_KEY" \ --header "kbn-xsrf: true"