Product documentation
ImpersonationPolicy
The ImpersonationPolicy resource.
ImpersonationPolicy
The ImpersonationPolicy resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/impersonation-policy | Impersonation Policy Get | tenant:users.impersonate |
PUT | /api/v1/impersonation-policy | Impersonation Policy Put | tenant:users.impersonate |
Operation details
GET /api/v1/impersonation-policy
Impersonation Policy Get
- Operation ID:
impersonationPolicyGet - Required scopes:
tenant:users.impersonate
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) |
PUT /api/v1/impersonation-policy
Impersonation Policy Put
- Operation ID:
impersonationPolicyPut - Required scopes:
tenant:users.impersonate
Request body (required): application/json → ImpersonationPolicyRequest
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) |