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" "$PROJ_ID/registry/repositories/" 2>/dev/null | jq '.[0]["id"]'
$ curl --request DELETE --header "PRIVATE-TOKEN: $GL_TOKEN" "$PROJ_ID/registry/repositories/610526" 2>/dev/null | jq
  "message": "403 Forbidden"

Any clue what might I be doing wrong?