Updates the user with the specified id.

PUT

Updates the user with the specified id.

Required Permissions: The user must be an admin or the creator or have user-master-data:write permissions.

Path parameters

userIdstringRequired

The id of the user.

Request

This endpoint expects an object.
firstNamestringOptional>=0 characters<=1000 characters

The firstname of the user.

lastNamestringOptional>=0 characters<=1000 characters

The lastname of the user.

birthDatedatetimeOptional

The birthdate of the user.

genderstringOptional>=0 characters<=25 characters

The gender of the user.

titlestringOptional>=0 characters<=100 characters

The title of the user.

positionstringOptional>=0 characters<=1000 characters

The position of the user.

languagestringOptional>=0 characters<=25 characters

The language preference of the user in ISO 639-1 format.

Response

OK

firstNamestringOptional>=0 characters<=1000 characters

The firstname of the user.

lastNamestringOptional>=0 characters<=1000 characters

The lastname of the user.

birthDatedatetimeOptional

The birthdate of the user.

genderstringOptional>=0 characters<=25 characters

The gender of the user.

titlestringOptional>=0 characters<=100 characters

The title of the user.

positionstringOptional>=0 characters<=1000 characters

The position of the user.

languagestringOptional>=0 characters<=25 characters

The language preference of the user in ISO 639-1 format.

idstringOptional

The id of the user.

statusobjectOptional

The status of the user.

createdOndatetimeOptional

The date this user was created.

createdBystringOptional

The id of the user who created this user.

updatedOndatetimeOptional

The date when this user was last updated.

updatedBystringOptional

The id of the user who updated the entity.

isArchivedbooleanOptional

Whether this user is archived. Archived users are automatically inactive and only exist for reference purposes.

isDeactivatedbooleanOptional

Whether the user has been deactivated.

deactivatedOndatetimeOptional

The date the user was deactivated.

hasImagebooleanOptional

Whether the user has uploaded a profile image.

shouldMigrateToConnectbooleanOptional

Whether the user should be migrated to Connect.

userContactInfoslist of objectsOptional

The contact information assigned to this user.

resourceVersionlongOptional

The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.

tagslist of objectsOptional

The tags of this user.

teamslist of objectsOptional

The teams the user is associated to.

isExternalbooleanOptional

True if this entity is coming from an external workspace (awork Connect).