Delete RBAC Group Claude Code Managed Settings
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.
Path parameters
Headers
Returns
Errors
Any method can also return the general HTTP errors.
Each code below is the value of error.details.error_code in the response body.
curl https://api.anthropic.com/v1/organizations/claude_code/managed_settings/rbac_groups/$RBAC_GROUP_ID \
-X DELETE \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: ce-claude-code-managed-settings-2026-10-06' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"{
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"type": "claude_code_rbac_group_managed_settings_deleted"
}Returns Examples
{
"rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
"type": "claude_code_rbac_group_managed_settings_deleted"
}