Delete a space. Requires edit access or higher.
DELETEhttps://api.aitronos.com/v1/spaces/{space_id}
Soft-delete a space. The space's dedicated vector store and thread associations are cleaned up. Requires edit access — the user must be in editable_by_users, have a role in editable_by_roles, be the space creator, or have the override_all_permissions capability.
space_id string required
The unique identifier of the space to delete.
No content (204).
cURL
- Bash
- Python
- JavaScript
curl -X DELETE "https://api.aitronos.com/v1/spaces/space_abc123" \
-H "X-API-Key: $FREDDY_API_KEY"