cURL
curl --request POST \ --url https://api.pocketflows.com/customers/{id}/unsubscribe_embeds \ --header 'Authorization: Basic <encoded-value>'
{ "id": "<string>", "url": "<string>", "customer": "<string>" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the customer that's unsubscribing
The created UnsubscribeEmbed object
UnsubscribeEmbed
The ID of the unsubscribe embed
The URL to embed the unsubscribe form