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