Skip to main content
PUT
Set preferences of an account (admin)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

account
string<uuid>

Account whose matrix changes; switches the body to the batch form.

Body

application/json

Single form (no account in the query).

account
string<uuid>
required
category
enum<string>
required
Available options:
marketing,
payment,
security,
system,
transactional
channel
enum<string>
required
Available options:
email,
in_app,
live_activity,
push,
sms
is_enabled
boolean
required
reason
string
required

Why the admin changes it; recorded in the audit log.

Required string length: 3 - 500
notification_event
string<uuid> | null

Opt-out-able catalog event of an event × channel override.

Response

Preference stored (single form) or the new matrix of the account (batch form)

data
object
message
string
meta
object