Users
Update current user
Updates the currently authenticated user. Only the values provided will be updated.
patch/users/me
Request body
Example request
{
"display_name": "John Doe",
"profile_image_url": "https://example.com/image.jpg",
"client_metadata": {
"key": "value"
},
"selected_team_id": "team-id",
"totp_secret_base64": "dG90cC1zZWNyZXQ=",
"primary_email": "johndoe@example.com"
}Response
Successful response
Example response
{
"selected_team": {
"id": "ad962777-8244-496a-b6a2-e0c6a449c79e",
"display_name": "My Team",
"profile_image_url": "https://example.com/image.jpg",
"client_metadata": {
"key": "value"
},
"client_read_only_metadata": {
"key": "value"
}
},
"id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"primary_email": "johndoe@example.com",
"primary_email_verified": true,
"display_name": "John Doe",
"client_metadata": {
"key": "value"
},
"client_read_only_metadata": {
"key": "value"
},
"profile_image_url": "https://example.com/image.jpg",
"signed_up_at_millis": 1630000000000,
"selected_team_id": "team-id"
}