For a given portal, and a given lead nurturing campaign in that portal, remove a lead into the campaign.
| Required Parameters | How to use | Description |
|---|---|---|
| HubSpot OAuth Access Token | access_token=X - Used in the request URL | The HubSpot API key for the portal that you're making the call for. |
| Campaign GUID | Used in the request URL | Unique identifier for a particular campaign you're enrolling leads into. |
| Lead GUID | Used in the request body | Unique identifier for a particular lead you're enrolling into a lead nurturing campaign. |
| Optional Parameters | How to use | Description |
|---|---|---|
| None | None | No optional parameters for this method. |
Example URL using JSON: https://api.hubapi.com/nurture/v1/campaign/dd9ba8fa-f7b9-4ece-88d6-cd9dc4124872/remove?access_token=demooooo-oooo-oooo-oooo-oooooooooooo
Example request body. The GUID specified below is the Lead GUID that you're removign from the campaign, not the Campaign GUID, which gets specified in the request URL. The request body should by the lead guid ONLY - it's raw text and not JSON.
8a41f2f22906b93a012906b9438f0008
The response from this method will simply be an HTTP response code, there will be no data in the response body.
Here's the breakdown of what you might see:
HTTP Methods:
POST
Response Format:
http status
Requires Authentication?
Yes
Rate Limited?
Headers