capabilities.work

B2B Recovery Codes Get and Rotate

A 2-step recipe with Stytch. We can help you get access.

Recipe · 2 steps

B2B Recovery Codes Get and Rotate

with Stytch · Identity & Access Management

Fetch a member's recovery codes, then rotate to a new set.

  1. Read the member's current set of MFA recovery codes by organization and member id.
  2. Rotate the member's recovery codes, retiring the current set and returning a freshly generated set.
What you'll need to have ready
  • organization_id: The id of the organization the member belongs to.
  • member_id: The id of the member whose recovery codes are managed.
For your developer

Arazzo workflow stytch:recovery-codes-rotate, 2 operations: api_b2b_recovery_codes_v1_Get → api_b2b_recovery_codes_v1_Rotate. Specs on APIs.io.