Update multiple goals at once

Allows for changing the status (e.g., active, archived) of multiple goals within a project simultaneously. Requires a list of goal IDs and the target status.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the account that owns the retrieved/saved data

integer
required

ID of the project to which save/retrieved data is connected

Body Params

Contains a list of goal ids and the target status (e.g., 'active', 'archived') to apply to all of them.

Request body for bulk updating the status of multiple goals.

id
array of integers
required
length between 1 and 100

The list of goals id to delete

id*
string
enum
required

The current status of a goal:

  • active: The goal is active and will track conversions for experiences it's attached to.
  • archived: The goal is archived and will not track new conversions. Its historical data remains accessible in reports for experiences that previously used it. Archived goals can often be cloned or unarchived. Knowledge Base: "Benefits of Archiving Unused Goals, Locations, and Audiences."
Allowed:
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json