/api/me/organization-mfa-requirementsAuthenticatedList my organizations that require MFA
The organizations the caller is a member of that require multi-factor authentication, and where the caller stands: compliant (they have MFA), within a grace period (enable MFA before it ends to stay a member), or past it (the membership is suspended and will be removed). Includes memberships suspended by an ended grace period, which other membership listings leave out.
get_api_me_organization_mfa_requirementsAccountAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Any authenticated user
Responses
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string | |
| data* | object | |
| mfa_enabled* | boolean | Whether the caller has a verified MFA factor |
| organizations* | MyOrganizationMfaRequirement[] | |
| organization_id* | string | minLength: 4maxLength: 32pattern: ^[a-z][a-z0-9_-]+$ |
| organization_name* | string | |
| grace_period_days* | integer | Days members without MFA get to enable it before they are removed (1-90). minimum: 1maximum: 90 |
| required_since* | number | Unix epoch milliseconds MFA became required |
| status* | "compliant" | "pending" | "grace_period" | "expired" |
|
| grace_period_reason* | "requirement_enabled" | "mfa_removed" | null | null | Why the grace period started: |
| grace_period_ends_at* | number | null | null | Unix epoch milliseconds the caller's grace period ends; null when they have MFA or none was started |
Example request
curl -X GET 'https://auth.schemavaults.com/api/me/organization-mfa-requirements' \
-b 'refresh_token_<auth_server_app_id>=<value>'