Update User

Allowed Scopes: experimental:user:manage

Partially update the profile of a user of the company the token resolves to. Only firstName and lastName can be updated; changing the email is not supported through the API. Names are shared by every company of the organisation, so the change is visible in all of them, and the user's sessions are kept. Users who are admin, account owner or travel manager in any company of the organisation cannot be updated, and companies whose users are managed by an HRIS integration are refused.

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

ID of the user to update.

Body Params
string
length between 1 and 255

The user's first name.

string
length between 1 and 255

The user's last name.

Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

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