Users

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

  • categorystringrequired

    The area the permission belongs to, as app.model.

  • modelstringrequired
  • appstringrequired
  • permissionsobject[]required
    • idintegerrequired
    • namestringrequired
    • codenamestringrequired
    • sourcestringrequired

      Where the account gets it: only a direct one can be taken away here.

      • group - From a group
      • direct - Given to the account
      • both - 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.

What each error means