Team Deactivate
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Create
Section titled “Create”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.
HTTP Request
Section titled “HTTP Request”POST /api/v1/teams/:team_id/deactivate
URL Parameters
Section titled “URL Parameters”| Parameter | Description |
|---|---|
| team_id | The ID of the team to deactivate |
Delete
Section titled “Delete”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.
HTTP Request
Section titled “HTTP Request”DELETE /api/v1/teams/:team_id/deactivate
URL Parameters
Section titled “URL Parameters”| Parameter | Description |
|---|---|
| team_id | The ID of the team to reactivate |