RBAC 그룹 Claude Code 관리형 설정 지정
anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.RBAC 그룹의 Claude Code 관리형 설정을 생성하거나 교체합니다.
새 설정은 rbac_group_order의 끝에 추가되며, 기존 설정은 제자리를 유지합니다. 그룹을 위로 옮기기 전까지는, 이 그룹의 멤버 중 앞선 그룹에도 속한 멤버는 해당 앞선 그룹의 설정을 유지합니다. organization 모드에서는 조직이 rbac_groups 모드로 전환할 때까지 쓰기가 어떤 멤버의 설정도 변경하지 않습니다. 그룹에 설정이 생기면 해당 전환 시 조직 설정이 더 이상 기본 설정으로 복사되지 않으므로, 전환 전에 기본 설정을 지정하지 않으면 rbac_group_order의 어떤 RBAC 그룹에도 속하지 않은 멤버는 아무 설정도 받지 않습니다.
그룹 ID는 RBAC Groups API에서 가져오세요. 하나의 키에 read:rbac_groups와 write:claude_code_managed_settings를 모두 부여할 수 있습니다.
허용되는 자격 증명: write:claude_code_managed_settings 범위가 있는 조직 수준 Admin API 키.
모든 요청에는 베타 헤더 anthropic-beta: ce-claude-code-managed-settings-2026-10-06이 포함되어야 합니다. 이 헤더가 없는 요청이나 이 베타가 활성화되지 않은 조직의 요청은 404를 반환합니다. Claude Code Managed Settings API는 베타 버전이며 Claude Enterprise 조직에서만 사용할 수 있습니다.
503을 반환한 쓰기는 적용되었을 수 있습니다. 재시도해도 안전합니다.
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.core.JsonValue;
import com.anthropic.models.beta.organization.claudecode.managedsettings.rbacgroups.BetaClaudeCodeRbacGroupManagedSettings;
import com.anthropic.models.beta.organization.claudecode.managedsettings.rbacgroups.RbacGroupSetParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
RbacGroupSetParams params = RbacGroupSetParams.builder()
.rbacGroupId("rbac_group_id")
.settings(RbacGroupSetParams.Settings.builder()
.putAdditionalProperty("foo", JsonValue.from("bar"))
.build())
.build();
BetaClaudeCodeRbacGroupManagedSettings betaClaudeCodeRbacGroupManagedSettings = client.beta().organization().claudeCode().managedSettings().rbacGroups().set(params);
}
}{
"created_at": "2019-12-27T18:11:19.117Z",
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"rbac_group_status": {
"type": "active"
},
"settings": {
"foo": "bar"
},
"type": "claude_code_rbac_group_managed_settings",
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"created_at": "2019-12-27T18:11:19.117Z",
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"rbac_group_status": {
"type": "active"
},
"settings": {
"foo": "bar"
},
"type": "claude_code_rbac_group_managed_settings",
"updated_at": "2019-12-27T18:11:19.117Z"
}