Email me a code
POST
When an active person has this address, emails them a six-digit code and a link that signs in, valid CCMS_EMAIL_CODE_MINUTES (default 10) minutes, once; a new code revokes the earlier one. Always 202 with the same answer, at once, so neither the answer nor its time says whether the address is known. Recorded as user.email-code-requested. Each request counts against the client’s address and toward the address’s code requests (CCMS_PASSWORD_FAILURES_*, apart from its tries and from passwords).
application/vnd.api+json- body
data*application/vnd.api+json- response
meta*curl -X POST 'http://localhost:3000/auth/email-code/request' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "data": { "type": "EmailCodeRequest", "attributes": { "email": "string" } }}'Example Response
{ "meta": { "message": "string" }}