Update User

PATCH

Update a User by ID

Required scope | users:write

The email and password fields cannot be updated using this endpoint

Path parameters

site_idstringRequired

Unique identifier for a Site

user_idstringRequired

Unique identifier for a User

Request

This endpoint expects an object.
dataobjectOptional
accessGroupslist of stringsOptional

An array of access group slugs. Access groups are assigned to the user as type admin and the user remains in the group until removed.

Response

Request was successful

idstringOptional

Unique identifier for the User

isEmailVerifiedbooleanOptional

Shows whether the user has verified their email address

lastUpdateddatetimeOptional

The timestamp the user was updated

invitedOndatetimeOptional

The timestamp the user was invited

createdOndatetimeOptional

The timestamp the user was created

lastLogindatetimeOptional

The timestamp the user was logged in

statusenumOptional
Allowed values: invitedverifiedunverified

The status of the user

accessGroupslist of objectsOptional

Access groups the user belongs to

dataobjectOptional

An object containing the User’s basic info and custom fields

Errors