ghl_chat_widget_delete
Deletes a chat widget by its ID within a specific sub-account location, removing the widget from GoHighLevel via a DELETE request.
Instructions
Delete a Chat Widget Deletes a chat widget by ID Endpoint: DELETE /chat-widget/{locationId}/{id} (Version header: v3; source: v3/chat-widget-v3.json) Requires a Sub-Account (location) token. OAuth scopes: chat-widget.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"locationId": "<locationId>"
},
"name": "ghl_chat_widget_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The chat widget ID | |
| locationId | Yes | The location ID |