支出上限を削除
DELETE/v1/organizations/spend_limits/{spend_limit_id}
支出上限を削除します。
Claude Enterprise組織の場合、ユーザーごとのオーバーライドが削除され、 メンバーはその期間に継承される支出上限にフォールバックします。 シート階層、グループ、組織レベルの行はこのエンドポイントでは削除できません。 Claude Console組織は、組織およびワークスペースの上限を削除します。 APIによるこれらの削除はアーリーアクセスプレビュー段階です。
Parameters
Returns
支出上限を削除
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
spend_limit = client.beta.organization.spend_limits.delete(
"spend_limit_id",
)
print(spend_limit.id)Response 200
{
"id": "id",
"type": "spend_limit_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "spend_limit_deleted"
}