Product documentation
SecurityPolicy
The SecurityPolicy resource.
SecurityPolicy
The SecurityPolicy resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/security-policy | Security Policy Get | tenant:security.read |
PUT | /api/v1/security-policy | Security Policy Put | tenant:security.write |
DELETE | /api/v1/security-policy | Security Policy Delete | tenant:security.write |
Operation details
GET /api/v1/security-policy
Security Policy Get
- Operation ID:
securityPolicyGet - Required scopes:
tenant:security.read
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | SecurityPolicyResponse |
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/security-policy
Security Policy Put
- Operation ID:
securityPolicyPut - Required scopes:
tenant:security.write
Request body (required): application/json → PutSecurityPolicyRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | SecurityPolicyResponse |
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) |
DELETE /api/v1/security-policy
Security Policy Delete
- Operation ID:
securityPolicyDelete - Required scopes:
tenant:security.write
Responses:
| Status | Description | Body |
|---|---|---|
204 | Reset to platform defaults; no content. | — |
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) |