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 super:user $ curl -k -X GET -H "Authorization: Bearer yCT9gxLFWKzwacl8niVv018JQ2YGvbXmNUJ2bETq" -H 'Content-Type: application/json' https://$QUAY_SERVER/api/v1/organization/$ORGA_NAME/quota|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 213 100 213 0 0 586 0 --:--:-- --:--:-- --:--:-- 586 [ { "id": 11, "limit_bytes": 10737418240, "default_config": false, "limits": [ { "id": 11, "type": "Warning", "limit_percent": 90 }, { "id": 12, "type": "Reject", "limit_percent": 100 } ], "default_config_exists": true } ] org:admin $ curl -k -X GET -H "Authorization: Bearer vsJk8Aao0c1Y0KfEtUhkkAthgZoEHNOzRyHhpTuu" -H 'Content-Type: application/json' https://$QUAY_SERVER/api/v1/organization/$ORGA_NAME/quota|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 213 100 213 0 0 598 0 --:--:-- --:--:-- --:--:-- 596 [ { "id": 11, "limit_bytes": 10737418240, "default_config": false, "limits": [ { "id": 11, "type": "Warning", "limit_percent": 90 }, { "id": 12, "type": "Reject", "limit_percent": 100 } ], "default_config_exists": true } ] repo:create $ curl -k -X GET -H "Authorization: Bearer Rte1H6JElPolupjAbvvl4nk0AkLBPsbiMw2BxepV" -H 'Content-Type: application/json' https://$QUAY_SERVER/api/v1/organization/$ORGA_NAME/quota|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 213 100 213 0 0 613 0 --:--:-- --:--:-- --:--:-- 613 [ { "id": 11, "limit_bytes": 10737418240, "default_config": false, "limits": [ { "id": 11, "type": "Warning", "limit_percent": 90 }, { "id": 12, "type": "Reject", "limit_percent": 100 } ], "default_config_exists": true } ] repo:admin $ curl -k -X GET -H "Authorization: Bearer kBQWNS8CIUldH4u7CiljvNrBvcryPgi08vNwDSEx" -H 'Content-Type: application/json' https://$QUAY_SERVER/api/v1/organization/$ORGA_NAME/quota|jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 218 100 218 0 0 605 0 --:--:-- --:--:-- --:--:-- 605 { "detail": "Unauthorized", "error_message": "Unauthorized", "error_type": "insufficient_scope", "title": "insufficient_scope", "type": "http://$QUAY_SERVER/api/v1/error/insufficient_scope", "status": 403 }