/users
Update User
Modify a given User
.
Fields not included in the request body will not be modified.
PUT
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The schema used for creating new users or updating existing users. Need to keep in sync with frontend/src/types/admin.ts
.
The email of the user
Flag indicating if the user is a tenant admin
The user level roles of the user.
Available options:
AGENT_USER
Per agent level roles for the user. If a user is granted any role under roles
, then the user has that role for all the agents. Only the roles that need to be updated should be part of this.
The schema used to capture agent level roles
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?