cURL
curl --request POST \ --url {schemes}://api.upsun.com/profile/{uuid}/picture \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "url": "<string>" }
A valid request URL is required to generate request examples
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The uuid of the user
The image file to upload.
The new picture url.
The relative url of the picture.
Was this page helpful?