cURL
curl --request PATCH \ --url https://{host}/frontend/api/v1/user/current/avatar/{avatar-action}/{avatar-id} \ --header 'Authorization: Bearer <token>'
{ "avatar": { "created": "2023-11-07T05:31:56Z", "enabled": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "provider": "probe-dev", "url": "<string>" } }
API Key Security (Header).
Avatar Action
enable
disable
Avatar string ID
OK
The response is of type object.
object