跳转到主要内容
POST
/
v3beta1
/
enterprise
/
idp-groups
注册账户的 IdP 组
curl --request POST \
  --url https://api.devin.ai/v3beta1/enterprise/idp-groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idp_group_names": [
    "<string>"
  ]
}
'
[
  {
    "idp_group_name": "<string>"
  }
]

权限

需要在企业级具有 ManageAccountMembership 权限的服务用户。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

请求体

application/json
idp_group_names
string[]
必填
Required array length: 1 - 100 elements

响应

成功响应

idp_group_name
string
必填