Request one-time passcode
POST
One-time passcode request
application/json- body
email*stringFormat
emailNo Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X POST \ "$CODER_URL/api/v2/users/otp/request" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]"}'Example Response204
Empty