ghl_ad_li_account_delete
Removes a LinkedIn ad account connection from a GoHighLevel location using location and ad account IDs. Use to disconnect ad publishing access; endpoint is deprecated in favor of v4.
Instructions
Delete ad account Remove a LinkedIn ad account connection from a location. Deprecated: use DELETE /ad-publishing/linkedin/ad-accounts/{adAccountId} with header version: v4. Endpoint: DELETE /ad-publishing/linkedin/ad-account (Version header: v3; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.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": {
"locationId": "<locationId>",
"adAccountId": "<adAccountId>"
},
"name": "ghl_ad_li_account_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location identifier | |
| adAccountId | Yes | Ad account identifier |