Skip to main content
Anchor to analyticsTargetsDelete

analyticsTargetsDelete

mutation

Requires write_reports access scope.

Deletes one or more analytics targets. Accepts a list of target IDs and returns the IDs that were successfully deleted. If any ID is not found, a user error is returned for that ID while the remaining valid targets are still deleted.

Use analyticsTargetCreate to create new targets, or analyticsTargetUpdate to modify existing ones.

•[ID!]!
required

The IDs of the analytics targets to delete.


Was this section helpful?

Anchor to AnalyticsTargetsDeletePayload returnsAnalyticsTargetsDeletePayload returns

•[ID!]

The IDs of the deleted analytics targets.

•[AnalyticsTargetsDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?