Skip to main content
POST
/
api2
/
v1
/
auth
/
login
Login
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "userName": "<string>",
  "password": "<string>",
  "code": "<string>"
}'
{
  "user": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "token": "<string>",
  "expires": "2023-11-07T05:31:56Z",
  "lastInvalidateAllSessionsPerformed": "2023-11-07T05:31:56Z"
}

Body

application/json
userName
string
required
password
string
required
code
string

Required only for 2-factor authentication

Response

successful operation

user
object
token
string
expires
string<date-time>
lastInvalidateAllSessionsPerformed
string<date-time>
I