メインコンテンツへスキップ
PUT
/
v3beta1
/
enterprise
/
consumption
/
acu-limits
/
local-agent
/
users
/
{user_id}
ユーザーレベルのローカルエージェント ACU 上限を設定
curl --request PUT \
  --url https://api.devin.ai/v3beta1/enterprise/consumption/acu-limits/local-agent/users/{user_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>"
    }
  ]
}

権限

Enterprise レベルで ManageBilling 権限を付与されたサービスユーザーが必要です。

承認

Authorization
string
header
必須

サービスユーザーの認証情報(接頭辞: cog_)

パスパラメータ

user_id
string
必須

ボディ

application/json
cycle_acu_limit
integer
必須
必須範囲: x >= 0

レスポンス

成功時のレスポンス