Skip to content

Product documentation

Impersonation

The Impersonation resource.

Impersonation

The Impersonation resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
POST/api/v1/impersonation/startImpersonation Starttenant:users.impersonate
POST/api/v1/impersonation/stopImpersonation Stoptenant:users.impersonate

Operation details

POST /api/v1/impersonation/start

Impersonation Start

  • Operation ID: impersonationStart
  • Required scopes: tenant:users.impersonate

Request body (required): application/jsonStartImpersonationRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — 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/jsonStopImpersonationRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)