Update User
Update a User by ID
Required scope | users:write
The
email
and password
fields cannot be updated using this endpointPath parameters
site_id
Unique identifier for a Site
user_id
Unique identifier for a User
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
data
accessGroups
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
id
Unique identifier for the User
isEmailVerified
Shows whether the user has verified their email address
lastUpdated
The timestamp the user was updated
invitedOn
The timestamp the user was invited
createdOn
The timestamp the user was created
lastLogin
The timestamp the user was logged in
status
The status of the user
Allowed values:
accessGroups
Access groups the user belongs to
data
An object containing the User’s basic info and custom fields