v13

OpenAPI 3.0.32026-07-31359869.4 MB
teams

Delete a Team

Delete a team under your account. You need to send a DELETE request with the desired team id. An optional array of reasons for deletion may also be sent.

delete/v1/teams/{teamId}

Path parameters

teamIdstring required
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

Query parameters

newDefaultTeamIdstring

Id of the team to be set as the new default team

Example:team_LLHUOMOoDlqOp8wPE4kFo9pE

Id of the team to be set as the new default team

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

Response

The Team was successfully deleted

idstring required

The ID of the deleted Team

newDefaultTeamIdErrorfalse | true

Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query.

Example response

{
  "id": "team_LLHUOMOoDlqOp8wPE4kFo9pE",
  "newDefaultTeamIdError": true
}