---
title: "POST /api/services/app/Account/ImpersonateTenant"
method: POST
path: "/api/services/app/Account/ImpersonateTenant"
tags: ["Account"]
---

# POST /api/services/app/Account/ImpersonateTenant

`POST /api/services/app/Account/ImpersonateTenant`

## Request body

- ImpersonateTenantInput
  - `tenantId` integer, nullable
  - `userId` integer — Range 1–9.223372036854776E+18

## Response `200`

Success

- ImpersonateOutput
  - `impersonationToken` string, nullable
  - `tenancyName` string, nullable

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
