Soft-delete a team
DELETE /teams/{id}
DELETE
/teams/{id}
Marks the team deleted_at; preserves closure rows for
historic audit. Cascading sweeps fire (ACL rows referencing
the team go via the 00017 trigger; user_roles rows go via
the FK CASCADE) only when the row is hard-deleted via admin
action, not via soft delete.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Deleted
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed