Log in user
POST
Login request
application/json- body
email*stringFormat
emailpassword*stringCreated
application/json- response
session_token*stringThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X POST \ "$CODER_URL/api/v2/users/login" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "string"}'Example Response201
{ "session_token": "string"}