Paramètres

Toggle `enforce_2fa_for_admins` pour l'org active.

Toggle enforce_2fa_for_admins pour l'org active.

Body : `{enabled: bool}`. Audit log `security_policy_update` émis.
Tout admin sans 2FA configurée se verra accorder une grace period de
7 jours au prochain login (cf services/security_2fa_service.py).

Permissions requises : admin:all

patch/api/v1/settings/security/enforce-2fa

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/settings/security/enforce-2fa
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

No recorded changes to this operation across all 1 revision of this API.