POST
/
v2
/
user
/
avatar
/
update
Update user avatar
curl --request POST \
  --url https://b2b-api.dev-riseworks.io/v2/user/avatar/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_name": "<string>"
}'
{
  "success": true,
  "data": "Your avatar was updated"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Default Response

The response is of type object.