Skip to content

Delete Widget

Endpoint used to delete a widget.

Terminal window
curl --request DELETE \
--url https://chat.api.toolzz.com.br/api/v1/widget/{widgetId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"message": "Widget deleted successfully"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
widgetIdUUIDWidget identifier.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. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page