Passer au contenu principal
POST
/
v2
/
enterprise
/
organizations
/
{org_id}
/
groups
Enterprise Organization Groups Addition Endpoint
curl --request POST \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "group_name": "<string>",
  "role": "<string>"
}
'
{
  "group_name": "<string>",
  "org_id": "<string>",
  "role": "<string>"
}
Nécessite une API key personnelle d’administrateur Enterprise. Ajoute un groupe IdP (fournisseur d’identité) Enterprise à une organisation donnée avec un rôle spécifié.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Path Parameters

org_id
string
required

Body

application/json
group_name
string
required
role
string
required

Response

Successful Response

group_name
string
required
org_id
string
required
role
string
required