Product documentation
Impersonation
The Impersonation resource.
Impersonation
The Impersonation resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
POST | /api/v1/impersonation/start | Impersonation Start | tenant:users.impersonate |
POST | /api/v1/impersonation/stop | Impersonation Stop | tenant:users.impersonate |
Operation details
POST /api/v1/impersonation/start
Impersonation Start
- Operation ID:
impersonationStart - Required scopes:
tenant:users.impersonate
Request body (required): application/json → StartImpersonationRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |
POST /api/v1/impersonation/stop
Impersonation Stop
- Operation ID:
impersonationStop - Required scopes:
tenant:users.impersonate
Request body (required): application/json → StopImpersonationRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |