Product documentation
LoginMethodPolicy
The LoginMethodPolicy resource.
LoginMethodPolicy
The LoginMethodPolicy resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/login-methods | Login Method Policy Get | tenant:idp.read |
PUT | /api/v1/login-methods | Login Method Policy Put | tenant:idp.write |
DELETE | /api/v1/login-methods | Login Method Policy Delete | tenant:idp.write |
Operation details
GET /api/v1/login-methods
Login Method Policy Get
- Operation ID:
loginMethodPolicyGet - Required scopes:
tenant:idp.read
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | LoginMethodPolicyResponse |
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/login-methods
Login Method Policy Put
- Operation ID:
loginMethodPolicyPut - Required scopes:
tenant:idp.write
Request body (required): application/json → PutLoginMethodPolicyRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | LoginMethodPolicyResponse |
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/login-methods
Login Method Policy Delete
- Operation ID:
loginMethodPolicyDelete - Required scopes:
tenant:idp.write
Responses:
| Status | Description | Body |
|---|---|---|
204 | Reset to the default (every method offered); 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) |