Delete a team by its ID. You can only delete teams where you are the owner.
This action is permanent and cannot be undone. Deleting a team may affect all
team members, event types, and scheduled events associated with the team.
Path Parameters
The unique identifier of the team to delete.
Response
Indicates whether the request was successful. Always true for successful
responses.
Always null for successful delete operations.
Example Response
{
"success": true,
"data": null
}
Error Response
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Team not found."
}
}
{
"success": false,
"error": {
"code": "ACCESS_DENIED",
"message": "You are not authorized to delete this team."
}
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Indicates whether the request was successful
The response data. Can be an object, array, or null
Option 1 · object
Option 2 · object[]
Option 3 · object
Option 4 · object[]
Option 5 · object