v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Users

Update user

Update user data for the given ID. This method performs a partial update.

patch/api/users/{userId}

Path parameters

userIdstring required

The unique identifier of the user.

Request body

customDataobject

Custom data object to update for the given user ID. Note this will replace the entire custom data object.

If you want to perform a partial update, use the PATCH /api/users/{userId}/custom-data endpoint instead.

Response

Updated user data for the given ID.

idstring required
usernamestring nullable required
primaryEmailstring nullable required
primaryPhonestring nullable required
namestring nullable required
avatarstring nullable required
customDataobject required

arbitrary

identitiesobject required
lastSignInAtnumber nullable required
createdAtnumber required
updatedAtnumber required
applicationIdstring nullable required
isSuspendedboolean required
hasPasswordboolean
hasSecurityVerificationMethodboolean
passwordDigeststring nullable
passwordAlgorithm'Argon2i' | 'Argon2id' | 'Argon2d' | 'SHA1' | 'SHA256' | 'MD5' | 'Bcrypt' | 'Legacy' nullable