Claude Platform Docs

Pengaturan Kepatuhan

Dapatkan Pengaturan Kepatuhan
client.Beta.Organization.ComplianceSettings.Get(ctx) (*BetaComplianceSettings, error)
GET/v1/organizations/compliance_settings

Ambil Pengaturan Kepatuhan (Compliance Settings) organisasi Anda.

Perbarui Pengaturan Kepatuhan
client.Beta.Organization.ComplianceSettings.Update(ctx, body) (*BetaComplianceSettings, error)
POST/v1/organizations/compliance_settings

Perbarui Pengaturan Kepatuhan (Compliance Settings) organisasi Anda.

Models
type BetaComplianceSettings struct { Type: "compliance_settings"; State }
Type ComplianceSettings
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type BetaComplianceSettingsStateUnion interface{…}
One of the following:
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type BetaComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type BetaComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type BetaComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type BetaComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type BetaComplianceSettingsStateParamUnion interface{…}
One of the following:
type BetaComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type BetaComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled