cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
The response is of type object.
object