Clear avatar

DELETE /actions/user/clear-avatar

Set the has_avatar flag to false for the current user and remove the avatar file from storage. This action cannot be undone.

Responses

  • 204

    Avatar file deleted successfully

DELETE /actions/user/clear-avatar
curl \
 --request DELETE 'http://api.example.com/actions/user/clear-avatar' \
 --header "Authorization: $API_KEY"