user

Create a new challenge for a MFA factor.

Changed on
post/factors/{factorId}/challenge

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/factors/{factorId}/challenge
  • Auth
    API key in header apikey and HTTP bearer

Path parameters

factorIdstring uuid required

Request body

channel'sms' | 'whatsapp'

Response

A new challenge was generated for the factor. Use POST /factors/{factorId}/verify to verify the challenge.

OR

Example response

{
  "id": "14c1560e-2749-4522-bb62-d1458451830a",
  "expires_at": 1674840917
}

Changes

    • warning

      removed the request property

    • breaking

      the response property //// became optional for the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • info

      added the new optional request property

    • info

      added the required property //// to the response with the status