---
title: "Adds a second tenant to an existing user (for multi-workspace / choose-user tests). POST /account/test/playwright/add-tenant-to-user Headers: x-playwright-api-key: <your-api-key> Body: { appDomain: string, email: string, tenantName?: string } Returns: { tenantId, userId, tenantName }"
method: POST
path: "/v1/account/test/playwright/add-tenant-to-user"
tags: ["account"]
---

# Adds a second tenant to an existing user (for multi-workspace / choose-user tests). POST /account/test/playwright/add-tenant-to-user Headers: x-playwright-api-key: <your-api-key> Body: { appDomain: string, email: string, tenantName?: string } Returns: { tenantId, userId, tenantName }

`POST /v1/account/test/playwright/add-tenant-to-user`

## 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/v1/account/test/playwright/add-tenant-to-user`
- Auth: none declared

## Request body

- AddTenantToUserRequestDto

## 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)
