跳转到主要内容
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>"
}
需要企业管理员的个人 API key。 将具有指定角色的企业 IdP(Identity Provider,身份提供商)组添加到特定组织中。

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