Docs

Set Image

POST /users/{userId}/image

POST/users/{userId}/image

Starts an account avatar change: it marks the user as having an image and returns two write-only upload URLs (96px and 256px) that the client puts its resized WebP images to directly. Strictly self-service: only the user can change their own avatar. To remove it, use Users_RemoveImage.

Path Parameters

FieldTypeRequiredDescription
userIduuidRequired

Response

FieldTypeDescription
sas96uri| null
sas256uri| null