Manually grant or revoke a contact's marketing consent
POST/api/contacts/:contactId/consents
Records a manual grant/revoke (source admin_manual, stamped with the
acting staff user as the audit actor) and appends an immutable audit
event. Requires the contact update ability.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The updated consent state for the channel.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The request failed validation.