Delete RBAC Group Claude Code Managed Settings
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.Delete an RBAC Group's Claude Code managed settings and remove the group from rbac_group_order.
A group with no settings returns 404 with the error code rbac_group_managed_settings_not_found. That code on a retry of a delete that returned 503 means the settings are gone.
Accepted credentials: an organization-level Admin API key with the write:claude_code_managed_settings scope.
Every request must include the beta header anthropic-beta: ce-claude-code-managed-settings-2026-10-06. A request without it, or from an organization not enabled for this beta, returns 404. The Claude Code Managed Settings API is in beta and is available to Claude Enterprise organizations only.
A write that returns 503 may have applied. Retrying it is safe.
Delete RBAC Group Claude Code Managed Settings
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
beta_deleted_claude_code_rbac_group_managed_settings = (
client.beta.organization.claude_code.managed_settings.rbac_groups.delete(
rbac_group_id="rbac_group_id",
)
)
print(beta_deleted_claude_code_rbac_group_managed_settings.rbac_group_id)Response 200
{
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"type": "claude_code_rbac_group_managed_settings_deleted"
}Returns Examples
Response 200
{
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"type": "claude_code_rbac_group_managed_settings_deleted"
}