Skip to main content

Set the organization's 2FA enforcement policy

PUT 

/api/v1/organizations/current/mfa-policy

Enable or disable org-wide 2FA enforcement.

Admin/owner only. Turning enforcement on stamps enforced_at (the grace-window anchor) and enforced_by; turning it off clears both. Re-enabling resets the grace window. Members without 2FA keep access until the grace window closes, after which they are forced to enrol on their next request (see ``).

  • API-key scope required: org:update.

Request

Responses

Successful Response