Delete a Team
Endpoint used to delete a team in Toolzz Chat.
Request Example
Section titled “Request Example”curl --request DELETE \ --url 'https://chat.toolzz.ai/api/v1/accounts/{account_id}/teams/{team_id}' \ --header 'Authorization: Bearer <token>'Response Example
Section titled “Response Example”{ "message": "Team deleted successfully"}Request Description
Section titled “Request Description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
URL Parameters (Path)
Section titled “URL Parameters (Path)”| Parameter | Type | Description | Required |
|---|---|---|---|
account_id | string | The ID of the account. | Yes |
team_id | string | The ID of the team to delete. | Yes |
Response Description
Section titled “Response Description”| Key | Type | Description |
|---|---|---|
message | string | Success message. |
Security
Section titled “Security”To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.