Delete team
Team
Delete team
Permanently deletes the team and all associated resources (members, invitations, workflows, API keys, cloud provider credentials, webhooks). Only the team owner can delete a team. This action cannot be undone.
Side-effects:
- All pending and running tasks are cancelled immediately.
- All active tunnel sessions for team agents are terminated.
- All API keys issued to this team are permanently revoked.
DELETE
Delete team
Documentation Index
Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:
"019abc12-4567-7890-abcd-ef1234567891"
Response
Team deleted
