Update a company user
Updates the fields on an existing user. Requires Admin role.
Authentication
AuthorizationBearer
A short-lived UUID access token from GET /api/v1/platform/token. Send as Authorization: Bearer {token}.
Path parameters
companyId
The company's unique identifier.
userId
The user's unique identifier.
Request
This endpoint expects an object.
firstName
The user’s first name. Letters and spaces only. Combined with lastName must not exceed 24 characters.
lastName
The user’s last name. Letters and spaces only. Combined with firstName must not exceed 24 characters.
email
The user's email address.
phone
A valid US phone number for the user.
address
The user's residential address.
birthdate
The user’s date of birth (ISO 8601). Must be 18 years or older.
title
The user's title at the company.
role
The user's role on the company.
Allowed values:
isOwner
Whether the user is also a beneficial owner of the business.
ipAddress
The end user's IP address, captured for terms acceptance. Defaults to your server's IP if omitted.
userAgent
The end user's user agent string, captured for terms acceptance. Defaults to your server's user agent if omitted.
Response
User updated.
data
A user on an onboarded company.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error