Cancel lead
Cancel a lead’s campaign sequence, preventing further messages from being sent. The lead transitions to the ‘canceled’ stage. By default the identifier is treated as a platform ID. Use the by query parameter to look up by username or external ID instead.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the campaign.
^[0-9a-z]+$The identifier of the lead to cancel. Interpreted based on the by parameter.
1"44196397"
Body
How to interpret the identifier in the URL path. Defaults to 'platformId'.
platformId, username, externalId "platformId"
The platform for the identifier. Required when by is 'platformId' or 'username'. Defaults to 'twitter'. Ignored when by is 'externalId'.
twitter Response
OK