Skip to content

Get User Product Permissions

Request

This api returns the list of permitted actions for the logged-in user and the a given product

Security
bearer-key
Path
productTokenstringrequired

product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: Integrate tab > Product Token).

curl -i -X GET \
  'https://api-saas.mend.io/api/v2.0/products/{productToken}/permissions' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(UserPermissionListDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "permissions": [ … ] } }