Users

Update a user

Updates the details of a user in the user pool

put/users/{id}

Request

  • Base URL
    /v1 (relative, and the document’s source URL is not known)
  • Auth
    API key in header Authorization

Path parameters

idstring required

the users id

Request body

forenamestring required
lastnamestring required
activeboolean required
status_notesstring

Example request

{
  "forename": "bob",
  "lastname": "bobbings",
  "status_notes": "User has been suspended"
}

Response

The users details

idstring

The users id

forenamestring

The users forename

surnamestring

The users surname

emailstring

The users email address

groupsstring[]

The groups the user belongs to

activeboolean

Whether or not the user is active

status_notesstring

Notes about the updates made to the user

status'UNCONFIRMED' | 'CONFIRMED' | 'ARCHIVED' | 'COMPROMISED' | 'UNKNOWN' | 'RESET_REQUIRED' | 'FORCE_CHANGE_PASSWORD'

The current status of the user

Example response

{
  "status_notes": "User has been suspended",
  "status": "CONFIRMED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.