Claude Platform Docs

컴플라이언스 설정 업데이트

POST/v1/organizations/compliance_settings

조직의 컴플라이언스 설정을 업데이트합니다.

stateenabled로 설정하면 Compliance API가 켜지고 조직 활동 이벤트 캡처가 시작됩니다. disabled로 설정하면 둘 다 꺼집니다. state는 Compliance API가 활성화되어 있는지 여부를 나타냅니다.

state를 현재 값으로 설정하는 요청은 성공하며 리소스를 변경하지 않습니다. disabled 요청은 이후의 enabled 요청 또는 Access Transparency를 활성화하는 조직의 다음 프로비저닝 작업이 있을 때까지 유효합니다. Access Transparency를 활성화하면 해당 활동 이벤트를 제공하는 Compliance API도 함께 활성화되므로, 이러한 프로비저닝(재실행 포함)은 disabled 요청 이후에도 Compliance API를 다시 활성화합니다. 자동 프로비저닝은 컴플라이언스 설정을 비활성화하지 않습니다.

Body

Desired state. Accepts the string shorthand "enabled" or "disabled" in place of the object form; the response always returns the canonical object form.

One of the following:
BetaComplianceSettingsStateEnabledParam object{ type }
type: "enabled"
BetaComplianceSettingsStateDisabledParam object{ type }
type: "disabled"
Returns
BetaComplianceSettings object{ state, type }

Whether the Compliance API is enabled for this organization.

One of the following:
BetaComplianceSettingsStateEnabled object{ type }
type: "enabled"
defaultenabled
BetaComplianceSettingsStateDisabled object{ type }
type: "disabled"
defaultdisabled
type: "compliance_settings"
defaultcompliance_settings
컴플라이언스 설정 업데이트
curl https://api.anthropic.com/v1/organizations/compliance_settings \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY" \
    -d '{
          "state": {
            "type": "enabled"
          }
        }'
Returns Examples
Response 200
{
  "state": {
    "type": "enabled"
  },
  "type": "compliance_settings"
}