Mend SAST API (24.9.2.5)

Mend Static Application Security Testing Solution Web API

Download OpenAPI description
Overview
Mend Support support@mend.io
Languages
Servers
https://api-docs.mend.io/sast/

Applications

Operations

Configurations

Operations

SAST Engines

Operations

Groups

Operations

Users

Operations

User authentication endpoint.

Request

Log in to the application.

Bodyapplication/jsonrequired

User credentials

oldPasswordstring
passwordstring
usernamestring
application/json
{ "oldPassword": "string", "password": "string", "username": "string" }

Responses

OK

Bodyapplication/json
orgIdstring
refreshTokenstring
roleinteger
systemRoleinteger
tokenstring
tokenTypestring
usernamestring
Response
application/json
{ "orgId": "string", "refreshToken": "string", "role": 0, "systemRole": 0, "token": "string", "tokenType": "string", "username": "string" }

Get a list of users.

Request

Get a list of users.

No request payload

Responses

OK

Bodyapplication/jsonArray [
apiTokenstring
createdTimestring
emailstringrequired
groupsArray of objects(models.ShortGroup)
idstring
integratedboolean
lastLoginstring
lastOrgLoginstring
namestringrequired
oldPasswordstring
orgIdstring
passwordstring
roleinteger
serviceboolean
usernamestringrequired
]
Response
application/json
[ { "apiToken": "string", "createdTime": "string", "email": "string", "groups": [], "id": "string", "integrated": true, "lastLogin": "string", "lastOrgLogin": "string", "name": "string", "oldPassword": "string", "orgId": "string", "password": "string", "role": 0, "service": true, "username": "string" } ]

Create a user.

Request

Create a user.

Bodyapplication/jsonrequired

User to create

apiTokenstring
createdTimestring
emailstringrequired
groupsArray of objects(models.ShortGroup)
idstring
integratedboolean
lastLoginstring
lastOrgLoginstring
namestringrequired
oldPasswordstring
orgIdstring
passwordstring
roleinteger
serviceboolean
usernamestringrequired
application/json
{ "apiToken": "string", "createdTime": "string", "email": "string", "groups": [ {} ], "id": "string", "integrated": true, "lastLogin": "string", "lastOrgLogin": "string", "name": "string", "oldPassword": "string", "orgId": "string", "password": "string", "role": 0, "service": true, "username": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Delete a user

Request

Delete a user by ID.

Path
idstringrequired

User ID

No request payload

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Get a user.

Request

Find a user by ID.

Path
idstringrequired

User ID

No request payload

Responses

OK

Bodyapplication/json
apiTokenstring
createdTimestring
emailstringrequired
groupsArray of objects(models.ShortGroup)
idstring
integratedboolean
lastLoginstring
lastOrgLoginstring
namestringrequired
oldPasswordstring
orgIdstring
passwordstring
roleinteger
serviceboolean
usernamestringrequired
Response
application/json
{ "apiToken": "string", "createdTime": "string", "email": "string", "groups": [ {} ], "id": "string", "integrated": true, "lastLogin": "string", "lastOrgLogin": "string", "name": "string", "oldPassword": "string", "orgId": "string", "password": "string", "role": 0, "service": true, "username": "string" }

Update a user

Request

Update a user by ID.

Path
idstringrequired

User ID

Bodyapplication/jsonrequired

Updated user object

apiTokenstring
createdTimestring
emailstringrequired
groupsArray of objects(models.ShortGroup)
idstring
integratedboolean
lastLoginstring
lastOrgLoginstring
namestringrequired
oldPasswordstring
orgIdstring
passwordstring
roleinteger
serviceboolean
usernamestringrequired
application/json
{ "apiToken": "string", "createdTime": "string", "email": "string", "groups": [ {} ], "id": "string", "integrated": true, "lastLogin": "string", "lastOrgLogin": "string", "name": "string", "oldPassword": "string", "orgId": "string", "password": "string", "role": 0, "service": true, "username": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Scans

Operations

Templates

Operations

Findings

Operations

Data flows

Operations