Vai al contenuto principale
GET
/
v2
/
enterprise
/
members
/
{user_id}
/
organizations
Enterprise User Organizations Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/members/{user_id}/organizations \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "email": "<string>",
      "name": "<string>",
      "org_id": "<string>",
      "org_name": "<string>",
      "org_role": "<string>",
      "user_id": "<string>",
      "enterprise_role": "<string>"
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Richiede la chiave API personale di un amministratore Enterprise. Restituisce un elenco paginato delle organizzazioni a cui un utente specifico ha accesso all’interno della tua Enterprise.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Path Parameters

user_id
string
required

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
UserOrgResponse · object[]
required
limit
integer
required
skip
integer
required
total
integer
required
next_cursor
integer | null