Skip to main content
DELETE
DELETE /v1/teams/{id}

Delete a Team

Delete a team by ID. Supports soft delete (default), hard delete, and restore operations.

Delete by ID

id
string
required
UUID of the team to delete.
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the team. If false, the team is soft-deleted and can be restored.

Restore a Soft-Deleted Team

Use PUT /v1/teams/restore to restore a soft-deleted team.
id
string
required
UUID of the soft-deleted team to restore.
DELETE /v1/teams/{id}

Returns

Soft delete returns the team object with deleted: true. Hard delete returns no content (204). Restore returns the restored team object.

Error Handling