Vai al contenuto principale
GET
/
v2
/
enterprise
/
groups
Enterprise Groups Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/groups \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "group_name": "<string>",
      "org_count": 123,
      "role_by_org_id": {}
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Richiede l’API key personale di un amministratore Enterprise. Restituisce un elenco paginato di tutti i gruppi IdP (Identity Provider) nella tua Enterprise, incluse le relative associazioni alle organizzazioni e i rispettivi ruoli.

Autorizzazioni

Authorization
string
header
obbligatorio

Personal API Key (apk_user_*) for Enterprise Admins only

Parametri della query

skip
integer
predefinito:0
Intervallo richiesto: x >= 0
limit
integer
predefinito:100
Intervallo richiesto: 1 <= x <= 200

Risposta

Successful Response

has_more
boolean
obbligatorio
items
EnterpriseGroupResponse · object[]
obbligatorio
limit
integer
obbligatorio
skip
integer
obbligatorio
total
integer
obbligatorio
next_cursor
integer | null