الانتقال إلى المحتوى الرئيسي
GET
/
manage
/
users
/
accepted
List Accepted Users
curl --request GET \
  --url https://cloud.gorbit.app/api/manage/users/accepted \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "<string>",
      "role": "limited",
      "is_active": true,
      "password_configured": true
    }
  ],
  "total_items": 123
}

التفويضات

Authorization
string
header
مطلوب

Authorization header with Bearer token

معلمات الاستعلام

q
string | null
page_num
integer
افتراضي:0
النطاق المطلوب: x >= 0
page_size
integer
افتراضي:10
النطاق المطلوب: 1 <= x <= 1000
roles
enum<string>[]

User roles

  • Basic can't perform any admin actions
  • Admin can perform all admin actions
  • Curator can perform admin actions for groups they are curators of
  • Global Curator can perform admin actions for all groups they are a member of
  • Limited can access a limited set of basic api endpoints
  • Slack are users that have used gorbit via slack but dont have a web login
  • External permissioned users that have been picked up during the external permissions sync process but don't have a web login
الخيارات المتاحة:
limited,
basic,
admin,
curator,
global_curator,
slack_user,
ext_perm_user
is_active
boolean | null

الاستجابة

Successful Response

items
FullUserSnapshot · object[]
مطلوب
total_items
integer
مطلوب