Groups and permissions

Get your own permissions

GET/auth/permissions/

read Read: looks, changes nothing. Scopes

Your username, whether you are staff or a superuser, every permission you hold (app.codename) and your groups.

Response

200 OK

  • usernamestringrequired
  • is_staffbooleanrequired
  • is_superuserbooleanrequired
  • permissionsstring[]required
  • groupsstring[]required

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.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means