Detach a goal from an experience

Detaches a single conversion goal (identified by goal_id) from an experience, without deleting the goal itself.
The goal remains available in the project and can still be attached to other experiences.
Returns a 404 error if the experience or the goal does not exist, or if the goal is not currently attached to the experience.
An experience must always keep at least one attached goal, so detaching the last remaining goal is not allowed and returns a 422 error.

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

integer
required

ID of the experience from which the goal is detached

integer
required

ID of the goal to be detached from the experience

Responses

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