Delete a team by ID, with soft/hard delete options
false, the team is soft-deleted and can be restored.PUT /v1/teams/restore to restore a soft-deleted team.
deleted: true. Hard delete returns no content (204). Restore returns the restored team object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this team |
404 | NOT_FOUND | Team with given ID does not exist |