跳转到主要内容
PUT
/
v3beta1
/
enterprise
/
consumption
/
acu-limits
/
devin
/
organizations
/
{org_id}
设置组织级 Devin ACU 限制
curl --request PUT \
  --url https://api.devin.ai/v3beta1/enterprise/consumption/acu-limits/devin/organizations/{org_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cycle_acu_limit": 1
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

权限

需要一个在企业级别拥有 ManageBilling 权限的服务用户。

授权

Authorization
string
header
必填

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

路径参数

org_id
string
必填

请求体

application/json
cycle_acu_limit
integer
必填
必填范围: x >= 0

响应

成功响应