Skip to navigation

Replace an app user

Replaces the name, email, phone and flags; fields left out are cleared or reset. The customer does not change.

Authentication

AuthorizationBearer

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

Path parameters

user_idintegerRequired>=1

The app user’s id.

Request

This endpoint expects an object.
first_namestringRequired1-100 characters
last_namestringRequired1-100 characters
emailstringRequired1-255 characters
phone_numberstring or nullOptional<=50 characters
whitelabelboolean or nullOptionalDefaults to true
newsletterboolean or nullOptionalDefaults to false

Response

The object after the update.
idinteger
organization_idstring
first_namestring
last_namestring
emailstring
whitelabelboolean
newsletterboolean
created_atdatetime
updated_atdatetime
phone_numberstring or nullOptional
customer_idinteger or nullOptional

Errors

401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error