Claude Platform Docs

지출 한도 삭제

SpendLimitDeleteResponse beta().organization().spendLimits().delete(params = SpendLimitDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE/v1/organizations/spend_limits/{spend_limit_id}

지출 한도를 삭제합니다.

Claude Enterprise 조직의 경우 사용자별 재정의를 삭제하며, 해당 멤버에게는 그 기간에 상속된 지출 한도가 있으면 그 한도가 적용됩니다. 시트 등급, 그룹 및 조직 수준 행은 이 엔드포인트를 통해 삭제할 수 없습니다. Claude Console 조직은 조직 및 워크스페이스 한도를 삭제하지만, usage_tier 한도는 삭제하지 않습니다. API를 통한 조직 및 워크스페이스 한도 삭제는 얼리 액세스 프리뷰 단계입니다.

Parameters
SpendLimitDeleteParams params
Optional<String> spendLimitId⁠Path parameter

ID of the Spend Limit.

Returns
class SpendLimitDeleteResponse { type = "spend_limit_deleted"; id; }
JsonValue type = "spend_limit_deleted"
String id
Errors

Any method can also return the general HTTP errors.

SandboxEgressRestrictedExceptionHTTP status 403error code sandbox_egress_restricted

The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.

BetaSpendLimitsAdminApiWritesNotEnabledExceptionHTTP status 403error code spend_limits_admin_api_writes_not_enabled

The organization cannot retrieve, set or delete spend limits with an Admin API credential.

지출 한도 삭제
package com.anthropic.example;

import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.organization.spendlimits.SpendLimitDeleteParams;
import com.anthropic.models.beta.organization.spendlimits.SpendLimitDeleteResponse;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        AnthropicClient client = AnthropicOkHttpClient.fromEnv();

        SpendLimitDeleteResponse spendLimit = client.beta().organization().spendLimits().delete("spend_limit_id");
    }
}
Returns Examples
Response 200
{
  "id": "id",
  "type": "spend_limit_deleted"
}