Skip to content

Product documentation

TenantAuthenticationPolicy

Per-tenant authentication policy (MFA requirements, session rules).

TenantAuthenticationPolicy

Per-tenant authentication policy (MFA requirements, session rules).

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

Operations

MethodPathSummaryScopes
GET/api/v1/auth-policyTenant Authentication Policy Gettenant:auth-policy.read
PUT/api/v1/auth-policyTenant Authentication Policy Puttenant:auth-policy.write
DELETE/api/v1/auth-policyTenant Authentication Policy Deletetenant:auth-policy.write

Operation details

GET /api/v1/auth-policy

Tenant Authentication Policy Get

  • Operation ID: tenantAuthenticationPolicyGet
  • Required scopes: tenant:auth-policy.read

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/auth-policy

Tenant Authentication Policy Put

  • Operation ID: tenantAuthenticationPolicyPut
  • Required scopes: tenant:auth-policy.write

Request body (required): application/jsonAuthPolicyRequest

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)

DELETE /api/v1/auth-policy

Tenant Authentication Policy Delete

  • Operation ID: tenantAuthenticationPolicyDelete
  • Required scopes: tenant:auth-policy.write

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)