Skip to main content
PATCH
Set a contact's marketing opt-out

Authorizations

Authorization
string
header
required

Your API key from the Wave dashboard. Sandbox keys start sk_sandbox_; production keys start sk_live_. Send as Authorization: Bearer <key>. Some endpoints require a production key and specific scopes.

Path Parameters

id
string<uuid>
required

Body

application/json
marketingOptedOut
boolean
required

Response

The contact is updated

id
string<uuid>
marketing_opted_out
boolean