Skip to content

Product documentation

ImpersonationPolicy

The ImpersonationPolicy resource.

ImpersonationPolicy

The ImpersonationPolicy resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/impersonation-policyImpersonation Policy Gettenant:users.impersonate
PUT/api/v1/impersonation-policyImpersonation Policy Puttenant:users.impersonate

Operation details

GET /api/v1/impersonation-policy

Impersonation Policy Get

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

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)

PUT /api/v1/impersonation-policy

Impersonation Policy Put

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

Request body (required): application/jsonImpersonationPolicyRequest

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)