---
title: "TBP-370 — clears a tenant's selected plan, putting it in the state a never-onboarded tenant is in. POST /account/test/playwright/clear-tenant-plan Body: { appDomain: string, tenantId: string } Returns: { shouldSelectPlan, shouldSetupPayments, plan } Exists so paywall / plan-selection / checkout E2Es stop deleting the app's `TEAM` plan and recreating it in a `finally` — that workaround mutates shared app state, so any spec running concurrently sees a plan-less app. This touches one tenant and nothing else."
method: POST
path: "/account/test/playwright/clear-tenant-plan"
tags: ["account"]
---

# TBP-370 — clears a tenant's selected plan, putting it in the state a never-onboarded tenant is in. POST /account/test/playwright/clear-tenant-plan Body: { appDomain: string, tenantId: string } Returns: { shouldSelectPlan, shouldSetupPayments, plan } Exists so paywall / plan-selection / checkout E2Es stop deleting the app's \`TEAM\` plan and recreating it in a \`finally\` — that workaround mutates shared app state, so any spec running concurrently sees a plan-less app. This touches one tenant and nothing else.

`POST /account/test/playwright/clear-tenant-plan`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/account/test/playwright/clear-tenant-plan`
- Auth: none declared

## Request body

- ClearTenantPlanRequestDto

## Response `201`

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
