Removing an Anthropic Organization

In this guide, you will safely remove an Anthropic organization from your Turbot Guardrails workspace. This deletes all associated CMDB records and policy settings from Guardrails but does not affect any resources in your actual Anthropic organization. No workspaces, members, or API keys are changed in Anthropic.

The removal has two phases: removing the Admin API key credential so discovery stops, then deleting the connection.

[!WARNING] Deleting the connection permanently removes all of its Anthropic CMDB records, policy settings, and control history from Guardrails. This cannot be undone.

Prerequisites

Step 1: Remove the Admin API Key Policy

Removing the credential first ensures Guardrails stops calling the Anthropic Admin API before the connection is deleted.

Navigate to the Policies page, search for Anthropic > Config > Admin API Key, select the setting on the target Anthropic Organization, and delete the policy setting. Also delete Anthropic > Config > Base URL if it was set to a non-default value.

Deleting the Anthropic Admin API Key policy setting on the Organization

Step 2: Delete the Connection

Navigate to the Anthropic Organization's page, select Actions in the top right corner, then select Remove from Turbot.

Anthropic Organization page with the Actions menu open showing the Remove from Turbot option

A confirmation dialog appears. Type the organization name to confirm, then select Delete to permanently remove the connection. Deletion cascades to every workspace, member, user, API key, and invite discovered under the organization.

Delete confirmation dialog requiring the organization name to be typed

Step 3: Review

Guardrails begins the deletion process. The time required depends on how many resources and policy settings were associated with the organization.

Troubleshooting

IssueSolution
Deletion errorsErrors can occur from database locks or incomplete cleanup. Ensure the Admin API Key policy is removed before deleting the connection, then retry.
Resources reappear after deletionDiscovery is still running because a Config policy setting remains. Remove every Anthropic > Config policy setting on the organization and its parents, then delete again.
Further assistanceOpen a support ticket with error details, or join the #guardrails channel in the Turbot Community Slack.