Customer: change a contact preference. Recorded with source client_portal and the wording version

put/api/v1/public/{slug}/portal/preferences

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/public/{slug}/portal/preferences
  • Auth: one of:
    • none
    • HTTP bearer

Path parameters

slugstring required

Request body

channel'email' | 'sms' | 'whatsapp' required
purpose'transactional' | 'marketing' required
grantedboolean required

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.