Unsubscribe Subscriber

Mark a contact unsubscribed.

MethodPOST
/api/v2/subscribers/:subscriber/unsubscribe

Marks a contact unsubscribed. :subscriber is an id or email. Subscriber DELETE is disabled; this is the supported removal path. Permission: subscribers.

Idempotent: repeating the call on an already unsubscribed contact still returns 200.

Path Parameters

NameTypeDescription
subscriberstringRequired. Subscriber id or email.

Response Fields

FieldTypeDescription
messagestringConfirmation text.
idstringSubscriber id when present.
emailstringEmail when present.
statusstringUNSUBSCRIBED when present.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403missing_permissionToken lacks the subscribers permission
404not_foundUnknown id or email