Skip to content

Delete a Team

Endpoint used to delete a team in Toolzz Chat.

Terminal window
curl --request DELETE \
--url 'https://chat.toolzz.ai/api/v1/accounts/{account_id}/teams/{team_id}' \
--header 'Authorization: Bearer <token>'
{
"message": "Team deleted successfully"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
account_idstringThe ID of the account.Yes
team_idstringThe ID of the team to delete.Yes

KeyTypeDescription
messagestringSuccess message.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.