Groups and permissions

Get a group

GET/auth/groups/{id}/

read Read: looks, changes nothing. Scopes

One group, with its members and permissions.

Path parameters

  • idintegerrequired

Response

200 OK

  • idintegerrequiredread-only
  • namestringrequired
  • permissionsinteger[]
  • permissions_displaystring[]requiredread-only
  • permissions_countintegerrequiredread-only

    Get count of permissions in this group

  • usersobject[]requiredread-only
    • idstring (uuid)requiredread-only
    • usernamestringrequiredread-only
    • emailstring (email)requiredread-onlycan be null
    • first_namestringrequiredread-only
    • last_namestringrequiredread-only
    • is_staffbooleanrequiredread-only

      Designates whether the user can log into this admin site.

    • is_activebooleanrequiredread-only
    • groupsinteger[]requiredread-only
  • users_countintegerrequiredread-only

    Get count of users in this group

  • parentintegerrequiredread-onlycan be null
  • parent_namestringrequiredread-onlycan be null
  • created_by_usernamestringrequiredread-onlycan be null
  • created_atstring (date-time)requiredread-only
  • is_resellerbooleanrequiredread-only
  • can_customize_packagesbooleanrequiredread-only
  • can_customize_bouquetsbooleanrequiredread-only
  • trials_limitintegerrequiredread-only
  • trials_periodstringrequiredread-only

    Default: "day"

  • trials_min_balancestring (decimal)requiredread-only
  • refund_window_hoursintegerrequiredread-only

    Default: 0

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 Nothing with this id, or nothing the account can see.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means