Delete Tenant
delete_tenantDelete a tenant and everything scoped to it (its users, subscription and data). This is IRREVERSIBLE and REQUIRES CONFIRMATION: resolve the tenant first, then call again with confirm set to the exact tenant name. Only do so after the user has explicitly agreed to the deletion — never supply the confirmation on your own initiative. Fails without deleting anything when the name matches no tenant (TENANT_NOT_FOUND), matches several (TENANT_AMBIGUOUS), or the confirmation does not match. To remove a single person instead of the whole workspace use remove_user. dryRun: true previews it first — the members, which of them lose their login account, and the side effects — without deleting anything or needing confirm. Before writing app code that consumes this, call get_integration_guide with topic=team and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| name | Yes | Tenant NAME from list_tenants (a tenant id is accepted as a fallback). | |
| dryRun | No | true previews what the deletion would affect and deletes nothing — no confirm needed. Do this first and show the user the result. Needs the same privilege as the deletion itself. | |
| confirm | No | Repeat the exact key of the resource being deleted, as confirmation. Required to delete; not needed with dryRun. This is a deliberate safety step — do NOT guess it or copy it from a fuzzy match. If you are not certain, list the resources first and ask the user which one they mean. |