Skip to navigation

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

companyIdstringRequiredformat: "uuid"
The company's unique identifier.
userIdstringRequiredformat: "uuid"
The user's unique identifier.

Request

This endpoint expects an object.
firstNamestringRequiredformat: "^[A-Za-z ]*$"

The user’s first name. Letters and spaces only. Combined with lastName must not exceed 24 characters.

lastNamestringRequiredformat: "^[A-Za-z ]*$"

The user’s last name. Letters and spaces only. Combined with firstName must not exceed 24 characters.

emailstringRequiredformat: "email"
The user's email address.
phonestringRequired
A valid US phone number for the user.
addressobjectRequired
The user's residential address.
birthdatedateRequired

The user’s date of birth (ISO 8601). Must be 18 years or older.

titleenumRequired
The user's title at the company.
roleenumRequired
The user's role on the company.
Allowed values:
isOwnerbooleanOptional
Whether the user is also a beneficial owner of the business.
ipAddressstringOptional
The end user's IP address, captured for terms acceptance. Defaults to your server's IP if omitted.
userAgentstringOptional
The end user's user agent string, captured for terms acceptance. Defaults to your server's user agent if omitted.

Response

User updated.
dataobject
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