account

Get two step policy

Read whether the organization requires two-step verification, until when a member without it is still let in, which methods count, and how many days a trusted browser may skip the second step.

get/api/v1/account/two-step-policy/{id}

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/account/two-step-policy/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Path parameters

idstring required

The organization id

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Response

Success.

requiredboolean required

Whether every member must have two-step verification

graceEndsAtstring date-time nullable required

While required: when members without it stop being let in

allowedMethodsstring[] required

The methods that satisfy the requirement

recoveryCodesCountboolean required

Whether a recovery code satisfies the requirement

deviceBoundPasskeysboolean required

Whether only a passkey that can't sync, by its authenticator's own unattested report (such as a security key), counts as a passkey

maxSessionHours8 | 12 | 24 | 72 nullable required

How many hours one sign-in may act here; null is WorkOS's 7 days

apiKeyMaxDays30 | 90 | 180 nullable required

How many days a new API key may live; null is a year

Changes

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