Events

Delete goal completions

Deletes recorded completions matching the filter. At least one of visitorId, name, startAt or endAt is required, so an unfiltered call cannot wipe the whole history by accident.

delete/goals

Request

  • Base URL: https://analytics.flowsery.com/analytics/api/v1
  • URL: https://analytics.flowsery.com/analytics/api/v1/goals
  • Auth: HTTP bearer

Query parameters

websiteIdstring

Website to query. Optional when the API key is scoped to a single website; required for workspace tokens that span several.

domainstring

Alternative to websiteId: select the website by its domain.

visitorIdstring

Delete completions belonging to this visitor.

namestring

Delete completions of this goal name.

startAtstring date-time

Delete completions recorded at or after this time.

endAtstring date-time

Delete completions recorded at or before this time.

Headers

X-Workspace-Idstring

The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out

Response

Completions deleted

status'success' required

Changes

No recorded changes to this operation across all 1 revision of this API.