Claude Platform Docs

Pengaturan Kepatuhan

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

Ambil Pengaturan Kepatuhan (Compliance Settings) organisasi Anda.

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

Perbarui Pengaturan Kepatuhan (Compliance Settings) organisasi Anda.

Models
type ComplianceSettingsStateUnion interface{…}
One of the following:
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled
type ComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type ComplianceSettingsStateParamUnion interface{…}
One of the following:
type ComplianceSettingsStateEnabledParam struct { Type: "enabled" }
Type Enabled
type ComplianceSettingsStateDisabledParam struct { Type: "disabled" }
Type Disabled
type OrganizationComplianceSettings struct { Type: "compliance_settings"; State }
Type ComplianceSettings
defaultcompliance_settings

Whether the Compliance API is enabled for this organization.

One of the following:
type ComplianceSettingsStateEnabled struct { Type: "enabled" }
Type Enabled
defaultenabled
type ComplianceSettingsStateDisabled struct { Type: "disabled" }
Type Disabled
defaultdisabled