v1
latestOpenAPI 3.0.02026-08-04891301.4 MBUpdate the current user's profile
Updates one or more profile fields for the authenticated user. All fields are optional; omit any you do not want to change.
When profile_picture is supplied, the image is uploaded and replaces the existing picture. The previous picture is deleted after the new one is stored. Image upload failures return 422 without modifying other profile fields.
put/api/v1/users/{user}/profile
Path parameters
userstring required
User ID (usr_...) or "me" for the authenticated user.
Request body
Example request
{
"alias": "string",
"full_name": "Example Name",
"metadata": {
"key": "value"
},
"profile_picture": {
"data": "string",
"filename": "string",
"mime_type": "application/json"
}
}Response
Successful response
Example response
{
"alias": "jdoe",
"app": "dap_0aBcDeFgHiJkLmNoPqRsTu",
"app_name": "Example Name",
"email": "user@example.com",
"id": "usr_0aBcDeFgHiJkLmNoPqRsTu",
"is_system_user": true,
"metadata": {
"key": "value"
},
"name": "Example Name",
"org": "org_0aBcDeFgHiJkLmNoPqRsTu",
"org_name": "Example Name",
"org_role": "member",
"sandbox": "dsb_0aBcDeFgHiJkLmNoPqRsTu",
"sandbox_name": "Example Name"
}