Skip to main content
PUT
/
v1
/
auth
/
me
Update Me
curl --request PUT \
  --url http://localhost:3000/v1/auth/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "newemail@example.com"
}
'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "is_verified": true,
    "is_admin": true,
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Body

application/json
email
string<email>
required
Example:

"newemail@example.com"

Response

User profile updated successfully

user
object
required