Set Profile Photo

POST {{URL}}/v1/settings/profile/photo

You must use the admin account to access the profile settings.

To change your profile photo using the API, send the raw image to the /v1/settings/profile/photo endpoint .

The cURL will look similar to the following:

curl -X POST
https://your-webapp-hostname:your-webapp-port/v1/settings/profile/photo
-H 'Authorization: Bearer {{AdminAuthToken}}
'Content-Type: image/png' --data-binary @your-path-to-image

Response

A successful request returns the HTTP Status Code 200 OK and either null or {} .

If you encounter any errors, see Error and Status Messages .

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | Authorization | string | | |

RESPONSES

status: OK

{"meta":{"api_status":"stable","version":"v2.45.1"}}