Skip to content

Team Deactivate

Example response:

{
"data": {
"id": "3aab0a84-8ed3-4ddf-8572-f1799bb60e0a",
"type": "team",
"attributes": {
...
}
}
}

This endpoint deactivates a team and all teams below it in the hierarchy.

POST /api/v1/teams/:team_id/deactivate

Parameter Description
team_id The ID of the team to deactivate

Example response:

{
"data": {
"id": "3aab0a84-8ed3-4ddf-8572-f1799bb60e0a",
"type": "team",
"attributes": {
...
}
}
}

This endpoint reactivates a team and all teams below it. A team below an inactive parent cannot be reactivated on its own.

DELETE /api/v1/teams/:team_id/deactivate

Parameter Description
team_id The ID of the team to reactivate