Skip to main content

UpdateMe

PATCH 

/v1/me

UpdateMe changes the signed-in caller's own display name (authn.user.name) and returns the updated identity. It acts only on the caller: there is no user id in the request, so it cannot rename anyone else.

Name only. fraser-auth's better-auth update-user also accepts image, phone, website and address, but the console's profile dialog sends only name, so that is all this serves. Email and role are never caller-editable.

Session-only, like ChangePassword: an API key is refused even though it belongs to the same user.

Request

Responses

Success