Auth

Resend the e-mailed login code

A new e-mailed code for the login in progress behind THIS bearer; the previous code stops working. `email` must be the caller's own address (case-insensitive). Same contract as `POST /api/v1/auth/resend-auth-code`.

POST
/api/v2/auth/resend-auth-code

Authorization

CookieSessionObject
b2t_access<token>

Session JWT in the HttpOnly cookie b2t_access, set by the login endpoints. Mutations also send the header X-B2T-CSRF: 1 (otherwise 403).

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/auth/resend-auth-code" \  -H "Content-Type: application/json" \  -d '{    "email": "string"  }'
Empty
Empty
{  "message": {    "error": "Your request was made with invalid credentials."  }}