Claude Platform Docs

受管理設定

Models
type BetaCMEKFeatureUnsupportedErrorDetails struct { ErrorCode }
ErrorCode BetaCMEKFeatureUnsupportedErrorCode
type BetaRBACGroupManagedSettingsNotFoundErrorDetails struct { ErrorCode }
ErrorCode BetaRBACGroupManagedSettingsNotFoundErrorCode
type BetaRBACGroupOrderLimitExceededErrorDetails struct { ErrorCode }
ErrorCode BetaRBACGroupOrderLimitExceededErrorCode
type BetaSettingsDocumentLimitExceededErrorDetails struct { ErrorCode }
ErrorCode BetaSettingsDocumentLimitExceededErrorCode
type BetaSettingsHistoryLimitExceededErrorDetails struct { ErrorCode }
ErrorCode BetaSettingsHistoryLimitExceededErrorCode
Errors
const ErrorCodeBetaCMEKFeatureUnsupported ErrorCode = "cmek_feature_unsupported"⁠HTTP status 400

This stored settings document currently cannot be read or replaced. Contact support, or, if you no longer need these settings, delete the group's settings or clear the default.

const ErrorCodeBetaRBACGroupOrderLimitExceeded ErrorCode = "rbac_group_order_limit_exceeded"⁠HTTP status 400

The RBAC Group order already has the most groups allowed. Delete another group's settings first.

const ErrorCodeBetaSettingsDocumentLimitExceeded ErrorCode = "settings_document_limit_exceeded"⁠HTTP status 400

The organization has reached its limit of settings documents, counting unused ones. An owner can remove unused documents in claude.ai. Deleting a group's settings or clearing the default settings also frees a document, if nothing else uses it. None of these works once the organization has also reached its settings history limit.

const ErrorCodeBetaSettingsHistoryLimitExceeded ErrorCode = "settings_history_limit_exceeded"⁠HTTP status 400

The organization has reached its settings history limit, a cap on stored versions of its settings documents. Nothing in the API or claude.ai lowers the count, so contact support. Creating or deleting group settings, creating or clearing the default settings, and reordering are refused. Changing the mode still works, unless it would copy the organization settings into a new default.

const ErrorCodeBetaRBACGroupManagedSettingsNotFound ErrorCode = "rbac_group_managed_settings_not_found"⁠HTTP status 404

This RBAC Group has no Claude Code managed settings.

受管理設定組態

取得 Claude Code 受管理設定組態
client.Beta.Organization.ClaudeCode.ManagedSettings.Configuration.Get(ctx, query) (*BetaClaudeCodeManagedSettingsConfiguration, error)
GET/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

擷取組織的 Claude Code managed settings(受管理設定)模式和 RBAC 群組順序。

更新 Claude Code 受管理設定組態
client.Beta.Organization.ClaudeCode.ManagedSettings.Configuration.Update(ctx, params) (*BetaClaudeCodeManagedSettingsConfiguration, error)
POST/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

以單一不可分割的寫入作業,變更組織的 Claude Code managed settings(受管理設定)模式、RBAC 群組順序,或兩者。

受管理設定RBAC 群組

列出 RBAC 群組 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroups.List(ctx, params) (*PageCursor[BetaClaudeCodeRBACGroupManagedSettingsSummary], error)
GET/v1/organizations/claude_code/managed_settings/rbac_groups
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

列出具有 Claude Code managed settings(受管理設定)的 RBAC 群組,優先順序最高者在前。

取得 RBAC 群組 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroups.Get(ctx, rbacGroupID, query) (*BetaClaudeCodeRBACGroupManagedSettings, error)
GET/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

擷取 RBAC 群組的 Claude Code managed settings(受管理設定)。

設定 RBAC 群組 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroups.Set(ctx, rbacGroupID, params) (*BetaClaudeCodeRBACGroupManagedSettings, error)
POST/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

建立或取代 RBAC 群組的 Claude Code managed settings(受管理設定)。

刪除 RBAC 群組 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroups.Delete(ctx, rbacGroupID, body) (*BetaDeletedClaudeCodeRBACGroupManagedSettings, error)
DELETE/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

刪除 RBAC 群組的 Claude Code managed settings(受管理設定),並將該群組從 rbac_group_order 中移除。

受管理設定RBAC 群組預設值

取得 RBAC 群組預設 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroupDefault.Get(ctx, query) (*BetaClaudeCodeRBACGroupDefaultManagedSettings, error)
GET/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

擷取預設的 Claude Code managed settings(受管理設定);在 rbac_groups 模式下,不屬於 rbac_group_order 中任何 RBAC 群組的成員會收到這些設定。

更新 RBAC 群組預設 Claude Code 受管理設定
client.Beta.Organization.ClaudeCode.ManagedSettings.RBACGroupDefault.Update(ctx, params) (*BetaClaudeCodeRBACGroupDefaultManagedSettings, error)
POST/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

設定或取代預設的 Claude Code managed settings(受管理設定),或以 null 清除。