API: dedicated endpoint to delete avatars

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Avatar deletion for projects and groups (users probably work this way too, but it is not mentioned) is defined as using avatar= when editing. There should be a dedicated DELETE endpoint for this.

DELETE /groups/:group/avatar
DELETE /projects/:project/avatar
DELETE /users/avatar

I also note the lack of GET /users/avatar, {GET,PUT,DELETE} /users/:user/avatar.

Edited by 🤖 GitLab Bot 🤖