cURL
curl --request POST \ --url https://api.eda.prisme.ai/v2/user/photo \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form photo='@example-file'
{ "firstName": "<string>", "email": "[email protected]", "status": "pending", "language": "<string>", "authData": { "anonymous": {}, "prismeai": {}, "azure": { "id": "<string>", "firstName": "<string>", "lastName": "<string>", "email": "<string>", "language": "<unknown>" } }, "mfa": "totp", "meta": {}, "platformRole": "<string>", "groupAcls": {}, "lastName": "<string>", "photo": "<string>", "groups": [ "<string>" ], "id": "<string>" }
Update user photo
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Photo as binary
Success Response
Name
"[email protected]"
pending
validated
deactivated
Show child attributes
totp
none
*
Profile picture URL
Unique id
Was this page helpful?