Delete team
Cascade soft-delete a workspace and its rows (members, keys, sessions, OAuth clients, brands, certificates); its share goes back to the pool. Owner only. DESTRUCTIVE, no restore: the data is erased 30 days later. Soft blockers (active keys, other members) answer 409 delete_blocked until acknowledged. Deleting the owner's last workspace leaves the account untouched and teamless. The caller's session is revoked by the cascade: re-mint for the surviving team first.
Contract:
- MCP tool delete_team, registry package mcp.id/teams, mount id.identity.
- Operation delete, response envelope delete_cascade.
- Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
Request
- Base URLhttps://beta.getsales.io/id/v1
- AuthHTTP bearer and API key in header Team-SID
Path parameters
The ts_tm_* sid of the row to delete.
Query parameters
Resolution codes of the soft blockers the user confirmed (error.blockers[].resolution of a delete_blocked answer).
Which of the caller's other live memberships becomes their working team afterwards; default the oldest. 422 when it is not an active membership of theirs.
Response
delete_cascade success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.