Teams

Require two-factor authentication for every member, with a grace period (owner, session signed in within 5 minutes)

put/orgs/{orgId}/security

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/orgs/{orgId}/security
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

orgIdstring uuid required

Request body

requireMfaboolean required
graceDaysinteger

days members get to set up two-factor authentication

Response

Policy

role'owner' | 'admin' | 'developer' | 'viewer' | 'billing' | 'editor' required

editor is a legacy role: existing members keep it, it can no longer be assigned

Changes

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