Update a user

Updates user information. At least one field must be provided. Required scope: users:write
Organization authorization: supported

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
Body Params
string | null

User email address

string | null
^\+[1-9]\d{1,14}$

User phone number in E.164 format

string | null

User first name

string | null

User last name

string | null

User preferred language

string | null

User legal email address

string | null

User address line 1

string | null

User address line 2

string | null

User address line 3

string | null

User zip/postal code

string | null

User city

string | null

User province/state

boolean | null

Set or withdraw the user's marketing email consent for your application. false withdraws it immediately. true requests it: if your application requires double opt-in, Monta emails the user a confirmation link and marketingEmailsAcceptedAt is only set once they confirm; otherwise it is set immediately. To record why and when the consent changed, send marketingConsentReason, marketingConsentNote and marketingConsentGivenAt in the same request.

MarketingConsentReason | null

Why the marketing consent changed, recorded with the change in the user's consent history. Optional: a change sent without a reason is recorded as made through the Partner API with no reason given. Only accepted together with marketingEmailsAccepted.

string | null

A note about the consent change, recorded with it in the user's consent history. Required when marketingConsentReason is other, to say what the reason was; optional otherwise. At most 1000 characters. Only accepted together with marketingEmailsAccepted.

date-time | null

When the user gave their consent, if that was before this request, such as the day they signed a form (ISO 8601 in UTC: yyyy-MM-ddTHH:mm:ssZ). Must not be in the future; leave it out when the user consented just now. Only accepted together with marketingEmailsAccepted: true.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json