Update a user

Updates the user by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

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

id

Body Params

userRequest

string
required

The ID of the user that created the user. This field will be automatically generated by the Aatmunn platform.

string

The email of the user.

string

Emergency contact email for the user.

string
^$|^\+[0-9]{1,4}:[0-9]{4,20}$

Emergency contact number for the user.

string

Emergency contact relationship of the user’s emergency contact.

string

Emp Id of the user

string

External reference ID of the user. Used to link to 3rd party systems.

string
required

First name of the user.

string

Job title of the user.

string
required

Last name of the user.

string
enum

The locale of the user.

string

Middle name of the user.

int64
required

Org ID the user belongs to. This field will be automatically generated by the Aatmunn platform.

string
^$|^\+[0-9]{1,4}:[0-9]{4,20}$

The phone number (with country code) of the user.

string

The URL of the thumbnail image of the user.

string

The URL of the image of the user.

status
object
required
string
enum
required

The type of the user. Can be “USER” or “WORKER”.

Allowed:
string
required

The updated by user of the user. This field will be automatically generated by the Aatmunn platform.

string

Username of the user. Required for any users with a User Type of “USER”.

Responses

201

Created

401

Unauthorized

403

Forbidden

404

Not Found

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