HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Update User

Update a User in the current User's Organization

Path Params
int64
required

userId

Body Params

userRequest

boolean
required

Indicates whether this user's account is enabled

boolean

If true, password will be automatically set and user will have to reset it using associated e-mail address

boolean
required

If true, this user needs to rotate their password

string
required
length between 0 and 100

E-mail address to associate with this user. The max length of this field is 100 characters.

string
required
length between 0 and 100

Full name of this user. The max length of this field is 100 characters.

string

ID of the Organization to which this user belongs. If left blank, user will be assigned to the current organization.

string
length between 8 and 60

Password used to authenticate with Urjanet. The min length of this field is 8 characters, and the max length is 60 characters.

string

Confirm password used to authentica with Urjanet

roles
array of strings
required

List of IDs of the roles to assign to this user

roles*
string
required
length between 4 and 50

Username used to authenticate with Urjanet; cannot contain spaces. The min length of this field is 4, and max length is 50 characters.

Response

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