Skip to content

Product documentation

SecurityPolicy

The SecurityPolicy resource.

SecurityPolicy

The SecurityPolicy resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/security-policySecurity Policy Gettenant:security.read
PUT/api/v1/security-policySecurity Policy Puttenant:security.write
DELETE/api/v1/security-policySecurity Policy Deletetenant:security.write

Operation details

GET /api/v1/security-policy

Security Policy Get

  • Operation ID: securityPolicyGet
  • Required scopes: tenant:security.read

Responses:

StatusDescriptionBody
200OKSecurityPolicyResponse
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/security-policy

Security Policy Put

  • Operation ID: securityPolicyPut
  • Required scopes: tenant:security.write

Request body (required): application/jsonPutSecurityPolicyRequest

Responses:

StatusDescriptionBody
200OKSecurityPolicyResponse
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/security-policy

Security Policy Delete

  • Operation ID: securityPolicyDelete
  • Required scopes: tenant:security.write

Responses:

StatusDescriptionBody
204Reset to platform defaults; no content.
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)