Update current user
Changed onUpdates the currently authenticated user. Only the values provided will be updated.
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/users/me
- Authnone declared
Request body
Example request
{
"display_name": "John Doe",
"profile_image_url": "https://example.com/image.jpg",
"client_metadata": {
"key": "value"
},
"client_read_only_metadata": {
"key": "value"
},
"server_metadata": {
"key": "value"
},
"primary_email": "johndoe@example.com",
"primary_email_verified": true,
"primary_email_auth_enabled": true,
"password": "my-new-password",
"totp_secret_base64": "dG90cC1zZWNyZXQ=",
"selected_team_id": "team-id",
"restricted_by_admin": false,
"restricted_by_admin_reason": null,
"restricted_by_admin_private_details": null,
"country_code": "US"
}Response
Successful response
Example response
{
"id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"primary_email": "johndoe@example.com",
"primary_email_verified": true,
"primary_email_auth_enabled": true,
"display_name": "John Doe",
"selected_team": {
"created_at_millis": 1630000000000,
"server_metadata": {
"key": "value"
},
"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"
}
},
"selected_team_id": "team-id",
"profile_image_url": "https://example.com/image.jpg",
"signed_up_at_millis": 1630000000000,
"client_metadata": {
"key": "value"
},
"client_read_only_metadata": {
"key": "value"
},
"server_metadata": {
"key": "value"
},
"last_active_at_millis": 1630000000000,
"country_code": "US",
"risk_scores": {
"sign_up": {
"bot": 0,
"free_trial_abuse": 0
}
}
}Changes
- breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to the/response property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property - info
added the new
undefinedenum value to the request property
- breaking
- breaking
the
//request property type changed fromnumbertointeger - breaking
the
//request property type changed fromnumbertointeger - warning
added the new
anonymousenum value to the/response property for the response status - warning
added the new
email_not_verifiedenum value to the/response property for the response status - warning
added the new
restricted_by_administratorenum value to the/response property for the response status
- breaking