curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/auth/login \
--header 'Content-Type: application/json' \
--data '{
"userUid": "<string>",
"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"
}
curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/auth/login \
--header 'Content-Type: application/json' \
--data '{
"userUid": "<string>",
"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"
}
successful operation
The response is of type object
.
Was this page helpful?