quay=# SELECT id,scope,token_type,token_name FROM oauthaccesstoken; id | scope | token_type | token_name ----+-------------------------------------------+------------+---------------------- 1 | repo:admin repo:read repo:write user:read | Bearer | TCJGQFfZXPJeZaagGChw 2 | repo:admin repo:read repo:write user:read | Bearer | QZL1Z7HtevWYIhKbLlzP 16 | org:admin | Bearer | vsJk8Aao0c1Y0KfEtUhk 17 | user:admin | Bearer | 01PeADD8x0bdCRwlq6By 18 | super:user | Bearer | yCT9gxLFWKzwacl8niVv 19 | repo:admin | Bearer | kBQWNS8CIUldH4u7Cilj 20 | repo:create | Bearer | Rte1H6JElPolupjAbvvl 21 | user:read | Bearer | Uqrle60GcBuyoUSWK7H0 22 | repo:read | Bearer | SfnjIIjD3Cx9YCbTGq88 23 | repo:write | Bearer | nuuENgswzrzIzBXSAsxw org:admin $ curl -k -X GET -H "Authorization: Bearer vsJk8Aao0c1Y0KfEtUhkkAthgZoEHNOzRyHhpTuu" -H 'Content-Type: application/json' https://$QUAY-SERVER/api/v1/organization/$ORGA-NAME/quota/11/limit|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 105 100 105 0 0 291 0 --:--:-- --:--:-- --:--:-- 291 [ { "id": 11, "type": "Warning", "limit_percent": 90 }, { "id": 12, "type": "Reject", "limit_percent": 100 } ] super:user $ curl -k -X GET -H "Authorization: Bearer yCT9gxLFWKzwacl8niVv018JQ2YGvbXmNUJ2bETq" -H 'Content-Type: application/json' https://$QUAY-SERVER/api/v1/organization/$ORGA-NAME/quota/11/limit|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 218 100 218 0 0 654 0 --:--:-- --:--:-- --:--:-- 654 { "detail": "Unauthorized", "error_message": "Unauthorized", "error_type": "insufficient_scope", "title": "insufficient_scope", "type": "http://$QUAY-SERVER/api/v1/error/insufficient_scope", "status": 403 }