API reference
PUTRequires Bearer token
Update security settings (audit console)
/api/logs-audit/security/settings
Mirrors company security flags used by the audit console (mfa_enforced, allowed_methods, grace / remember-device windows, block_legacy_auth, admin_always_mfa, scim_enabled, jit_provisioning).
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
mfa_enforced | boolean | Require MFA at login. e.g. true |
allowed_methods | object | Map of method → bool. |
grace_period_days | integer | Enrollment grace period. e.g. 7 |
remember_device_days | integer | Remember-device window. e.g. 30 |
block_legacy_auth | boolean | Block legacy authentication paths. e.g. false |
admin_always_mfa | boolean | Always require MFA for admins. e.g. true |
scim_enabled | boolean | Enable SCIM provisioning. e.g. false |
jit_provisioning | boolean | Just-in-time user provisioning. e.g. false |
Responses
| Status | Meaning |
|---|---|
| 200 | Security settings |
| 401 | Missing or invalid Bearer token. |