v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
My account

Update profile

Update profile for the user, only the fields that are passed in will be updated. Updating or deleting username requires a logto-verification-id header for checking sensitive permissions. Removing any sign-in identifier, including username, is rejected if it would remove the user's last identifier.

patch/api/my-account

Request body

namestring nullable

The new name for the user.

avatarstring url nullable

The new avatar for the user, must be a URL.

usernamestring regex nullable

The new username for the user, must be a valid username and unique.

customDataobject

The new custom data for the user. This will completely replace the existing customData. Requires CustomData scope.

Response

The profile was updated successfully.

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

arbitrary

identitiesobject
lastSignInAtnumber nullable
createdAtnumber
updatedAtnumber
applicationIdstring nullable
isSuspendedboolean
hasPasswordboolean
hasSecurityVerificationMethodboolean