Delete Widget
Endpoint used to delete a widget.
Request Example
Section titled “Request Example”curl --request DELETE \ --url https://chat.api.toolzz.com.br/api/v1/widget/{widgetId} \ --header 'Authorization: Bearer TOKEN_HERE'Response Example
Section titled “Response Example”{ "message": "Widget deleted successfully"}Request description
Section titled “Request description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (“Bearer” must be before the token) | Yes |
URL Parameters (Path)
Section titled “URL Parameters (Path)”| Parameter | Type | Description | Required |
|---|---|---|---|
widgetId | UUID | Widget identifier. | 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. Additionally, the API is protected by other security measures to safeguard user data.
To access your access token, follow these steps:
- Log in to the ToolzzAI platform
- Click on “Settings”
- Click on “Access Token”
- Copy the access token
