---
title: "POST /admin/tokens/login-as"
method: POST
path: "/admin/tokens/login-as"
tags: ["ecw"]
---

# POST /admin/tokens/login-as

`POST /admin/tokens/login-as`

## Request

- Base URL: `https://api.octoperf.com`
- URL: `https://api.octoperf.com/admin/tokens/login-as`
- Auth: none declared

## Query parameters

- `userId` string, required

## Response `200`

OK

- SecurityToken
  - `token` string
  - `expiresInSec` integer

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests

## Changes

- **2026-11-03** `637a8f8ce8cf`: 3 info
  - api operation id `U_9` removed and replaced with `v_5`
  - api tag `ecw` added
  - api tag `hg` removed
- **2026-10-30** `fc0ab021d8d3`: 3 info
  - api operation id `F_6` removed and replaced with `U_9`
  - api tag `hg` added
  - api tag `n-8_` removed
- **2026-10-29** `6fb7a9d5eb1c`: 3 info
  - api operation id `x_8` removed and replaced with `F_6`
  - api tag `n-8_` added
  - api tag `fok` removed
- **2026-10-28** `6fc0f4ece308`: 3 info
  - api operation id `A_5` removed and replaced with `x_8`
  - api tag `fok` added
  - api tag `hbc` removed
- **2026-10-27** `d04c0ffc592f`: 3 info
  - api operation id `j_1` removed and replaced with `A_5`
  - api tag `hbc` added
  - api tag `wad` removed

[Operation history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/admin/tokens/login-as/post.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) - [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/637a8f8ce8cf?raw)
