跳转到主要内容
PATCH
/
v2
/
enterprise
/
organizations
/
{org_id}
curl -X PATCH "https://api.devin.ai/v2/enterprise/organizations/org_123" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "max_acu_limit": 2000
  }'
{
  "status": "success"
}
更新企业中某个特定组织在每个计费周期内的 ACU 上限和/或显示名称。通过此端点,你可以单独修改任一字段,也可以同时修改这两个字段。

路径参数

org_id
string
required
需要更新的组织的唯一标识符

请求体

max_acu_limit
integer
该组织在每个计费周期内允许使用的最大 ACU 限额。将其设置为 null 可移除该限额。
display_name
string
组织的显示名称

响应

status
string
required
操作状态,通常为 “success”
curl -X PATCH "https://api.devin.ai/v2/enterprise/organizations/org_123" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "max_acu_limit": 2000
  }'
{
  "status": "success"
}