Skip to content

General Info - Permissions

Get All Available Permissions Grouped By Roles

Request

Returns a list of the current user's permissions grouped by roles

Security
bearer-key
GET
/api/v2.0/permissions/byRole
curl -i -X GET \
  https://api-saas.mend.io/api/v2.0/permissions/byRole \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValArray of objects(RolePermissionsDTO)
Response
{ "supportToken": "1171c60d", "retVal": [ {} ] }