English
cURL
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" }
Required only for 2-factor authentication
successful operation
Show child attributes
Was this page helpful?