刪除支出限制
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"
}