Delete a project
DELETE/api/v1/projects/:project_id
Deletes a project. Requires admin role. Fails with 409 if the project has any dependent resources (agents, ai providers, tools, conversations, chats, formations, memories, actors, webhooks, secrets, sessions, files, traces, generations, orchestrations, etc.), unless force=true is passed, in which case those resources are deleted along with the project.
Request
Responses
- 204
- 401
- 403
- 404
- 409
Project deleted successfully
Unauthorized
Forbidden (non-admin user)
Project not found
Project has dependent resources (pass force=true to delete anyway)