Web Visits
v1
Delete a Goal
Changed onDelete a goal by its ID. Its custom feed is deleted too, and the goal is removed from the page views it marked. The deletion completes in the background, so the goal can still be returned by the other goal endpoints for a short time; the request does not need retrying.
:::info Requires the web_visits:write OAuth2 scope. :::
delete/v1/web-visits/goals/{id}
Request
- Base URLhttps://api.leadfeeder.com
- URLhttps://api.leadfeeder.com/v1/web-visits/goals/{id}
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.leadfeeder.com/v1/oauth/authorizeToken URL: https://api.leadfeeder.com/v1/oauth/token scopes: web_visits:write
Path parameters
idstring required
The goal ID.
Query parameters
account_idstring required
The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
Response
Success
Example response
{
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}Changes
- info
endpoint added
- info