DELETE /interaction/v1/interactions/{id}

Deletes a journey by ID or key. When deleting last version of a journey, check if the journey is associated with a tag and unassociated the tag using the deleteTags resource.

NameTypeDescription
idstringRequiredThe ID of the journey to delete expressed in the form of a GUID (UUID). Required if not using a key. The ID deletes all versions of the journey, unless a versionNumber is provided.
keystringRequiredThe key of the journey. Required if not using ID. Prefix the parameter with key:. For example, /interactions/key:{key}.
versionNumberintegerVersion number of the journey to delete. If no version is specified, ALL versions associated with the provided ID will be deleted.

Example Request

The following request will delete the journey specified with the ID request parameter. If you don't provide the versionNumber parameter, then ALL versions of the identified journey will be deleted. YOU CANNOT RECOVER THIS DATA.

Example Response

Example Error Response