Delete journey state
Delete a completed journey session. You can delete only journeys with the status Completed. For any other journey, including a journey that ended with the status Error, the API returns 409. The API returns 200 when it schedules the deletion, and the deletion runs shortly afterwards. To confirm the deletion, call /journey/state/fetch until it returns an error. For more details, see the delete journey data guide.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Unique identifier for the journey instance to delete. Returned when you start a journey.
"PRC-b294e258-d918-11f1-9747-46db552413b4"
Response
Deletion scheduled. The deletion runs shortly after the response returns. To confirm it, call /journey/state/fetch until it returns an error.
Unique identifier for the journey instance to delete.
"PRC-b294e258-d918-11f1-9747-46db552413b4"