v1

latestOpenAPI 3.0.12026-08-06151265417.9 KB
Access Management

Login

Sign in a user with email and user key, returning a JWT token which is valid for 30 minutes. If you omit the organization, it defaults to the last one you signed in to.

post/api/v3.0/login

Request body

emailstring required
userKeystring required

Equivalent to a personal access token. Avoid pasting as plain text where it might be compromised. For a service user (recommended), you can find the user key in the Mend SCA App in Admin > Users. Learn more. For local testing purposes, you could also use one of your own personal user keys from your user profile page in the Mend SCA App.

Example request

{
  "email": "jon.smith@mail.com",
  "userKey": "***********"
}

Response

OK

supportTokenstring

Example response

{
  "supportToken": "1171c60d"
}