刪除支出限制
DELETE/v1/organizations/spend_limits/{spend_limit_id}
刪除支出限制。
對於 Claude Enterprise 組織,此操作會刪除個別使用者的覆寫設定,該成員會改為套用該週期內任何繼承的支出限制。其席位層級、群組及組織層級的資料列無法透過此端點刪除。Claude Console 組織可刪除其組織與工作區限制,但無法刪除其 usage_tier 限制。透過 API 刪除組織與工作區限制目前處於搶先體驗預覽階段。
Parameters
Returns
刪除支出限制
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
spend_limit = anthropic.beta.organization.spend_limits.delete("spend_limit_id")
puts(spend_limit)Response 200
{
"id": "id",
"type": "spend_limit_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "spend_limit_deleted"
}