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.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Query Parameters

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

Response

Successful Response

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