Skip to main content
PATCH
/
api
/
svc
/
v1
/
users
/
profile-picture
Update User Profile Picture
curl --request PATCH \
  --url https://{controlPlaneURL}/api/svc/v1/users/profile-picture \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "downloadPath": "<string>"
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "code": 123,
  "details": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
downloadPath
string
required

Path of the profile picture to be saved

Response

User profile picture has been successfully updated.