Skip to content

AuthController_verify2fa

POST
/admin/v1/auth/2fa
curl --request POST \
--url https://your-store.example.com/admin/v1/auth/2fa \
--header 'Content-Type: application/json' \
--data '{ "challengeId": "example", "totpCode": "example" }'
Media type application/json
object
challengeId
required
string
/^[A-Za-z0-9_-]{32,64}$/
totpCode
required
string
/^\d{6}$/
Example generated
{
"challengeId": "example",
"totpCode": "example"
}