POST /v1/auth/mfa/email/enroll
Tags: auth
Request body
Required.
JSON
{
"$ref": "#/components/schemas/EmailEnrollRequest"
}Responses
200
JSON
{
"$ref": "#/components/schemas/EmailEnrollResponse"
}Code samples
TypeScript
TypeScript
import { firecase } from "@firecase/sdk";
const result = await firecase.post("/auth/mfa/email/enroll", { /* body */ });
console.log(result);Python
Python
import firecase
result = firecase.post("/auth/mfa/email/enroll", json={})
print(result)curl
Bash
curl -X POST https://api.firecase.ai/v1/auth/mfa/email/enroll \
-H "Authorization: Bearer $FIRECASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'