List a user's permissions
GET
/auth/users/{id}/permissions/read Read: looks, changes nothing. Scopes
Everything the account may do, from its groups and given to it directly, by model. source says where each one comes from.
Path parameters
idstring (uuid)required
Response
200 OK
categorystringrequiredThe area the permission belongs to, as
app.model.modelstringrequiredappstringrequiredpermissionsobject[]requiredidintegerrequirednamestringrequiredcodenamestringrequiredsourcestringrequiredWhere the account gets it: only a
directone can be taken away here.group- From a groupdirect- Given to the accountboth- Both
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404
- 429 Slow down: wait the seconds in the Retry-After header, then try again.