Error 403 trying to delete a registry repository

I’m trying to remove all the tags of a registry in a private repository where I have “Owner” privileges, but I don’t see the “trash bin” icon anywhere.

Then I created a personal token with API access, but I get a 403 error:

$ curl --request GET --header "PRIVATE-TOKEN: $GL_TOKEN" "https://gitlab.com/api/v4/projects/$PROJ_ID/registry/repositories/" 2>/dev/null | jq '.[0]["id"]'
610526
$ curl --request DELETE --header "PRIVATE-TOKEN: $GL_TOKEN" "https://gitlab.com/api/v4/projects/$PROJ_ID/registry/repositories/610526" 2>/dev/null | jq
{
  "message": "403 Forbidden"
}

Any clue what might I be doing wrong?