accounts

GET/PUT /accounts/organization/2fa-policy/ - Org 2FA policy.

GET is available to all authenticated members (read policy). PUT is admin-gated inline (Level.ADMIN+) rather than via a permission class so that a single view can serve both roles without splitting.

get/accounts/organization/2fa-policy/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/accounts/organization/2fa-policy/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Response

OK

require_2faboolean required
require_2fa_grace_period_daysinteger required
require_2fa_enforced_atstring date-time nullable required

Changes

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