v11

latestOpenAPI 3.1.12026-08-03174162.0 MB
Users

Update the current user's profile

patch/users/me

Request body

firstNamestring
lastNamestring
imageUrlstring uri nullable
metadataobject
refreshTokenstring

Current refresh token. When provided, new tokens with updated user data will be returned.

Response

OK

Example response

{
  "user": {
    "id": "usr_01jps5cgsd4tzjghtnt45qnhn0",
    "createdAt": "2026-08-03T06:13:52.212Z",
    "updatedAt": "2026-08-03T06:13:52.213Z",
    "email": "test@session.services",
    "firstName": "Jay",
    "lastName": "McMullen",
    "imageUrl": "https://assets.session.services/examples/avatar.jpg",
    "tenantId": "tnt_01jqpj2t2kfvmstt6f6tzkbaf2"
  }
}