Mend User Management - Roles And Permissions API
The User Management - Roles And Permissions API from Mend — 3 operation(s) for user management - roles and permissions.
The User Management - Roles And Permissions API from Mend — 3 operation(s) for user management - roles and permissions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mend:mend-user-management-roles-and-permissions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Mend User Management - Roles And Permissions API
description: 'Mend''s enhanced SCA API enables automation of workflows in a REST compliant format. The API features:
+ Access for any user with Mend credentials, via a user key available in the user''s profile page in the Mend App.
+ Improved security with a JWT token per organization, which expires every 10 minutes.
+ Added scalability with support for pagination, filtering and sorting search results.
+ Broader functionality available programmatically.
+ New standard API documentation for easy navigation and search.
**Note:** To help you get started with the Mend SCA API 2.0, we recommend reviewing our onboarding guide -> Getting Started with Mend SCA API 2.0.
This resource covers initial setup, authentication instructions, and helpful tips to help you successfully begin working with the Mend SCA API 2.0. If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.'
version: 3.0.1
servers:
- url: https://api-saas.mend.io
description: Generated server url
security:
- bearer-key: []
tags:
- name: User Management - Roles And Permissions
paths:
/api/v2.0/projects/{projectToken}/permissions:
get:
tags:
- User Management - Roles And Permissions
summary: Get User Project Permissions
description: Returns the actions permitted actions to the current user in a given project
operationId: getUserPermissions_2
parameters:
- name: projectToken
in: path
description: 'project UUID (by running Entities - Product > Get Product Projects) or Project Token (from the Mend SCA App: **Integrate** tab > **Project Token**).'
required: true
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DWRResponseUserPermissionListDTO'
/api/v2.0/products/{productToken}/roles:
get:
tags:
- User Management - Roles And Permissions
summary: Get User Roles
description: Returns the list of users and their roles (assignments) in a given product
operationId: getSessionUserRoles
parameters:
- name: productToken
in: path
description: 'product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: **Integrate** tab > **Product Token**).'
required: true
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DWRResponseCollectionRoleDTO'
/api/v2.0/products/{productToken}/permissions:
get:
tags:
- User Management - Roles And Permissions
summary: Get User Product Permissions
description: This api returns the list of permitted actions for the logged-in user and the a given product
operationId: getUserPermissions_3
parameters:
- name: productToken
in: path
description: 'product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: **Integrate** tab > **Product Token**).'
required: true
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DWRResponseUserPermissionListDTO'
/api/v2.0/orgs/{orgToken}/roles:
get:
tags:
- User Management - Roles And Permissions
summary: Get User Roles
description: Returns a list of users and their roles (assignments) for the given organization
operationId: getSessionUserRoles_1
parameters:
- name: orgToken
in: path
description: 'org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: **Integrate** tab > **API Key**).'
required: true
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DWRResponseCollectionRoleDTO'
/api/v2.0/orgs/{orgToken}/permissions:
get:
tags:
- User Management - Roles And Permissions
summary: Get User Organization Permissions
description: This api returns the listed of permitted actions for the logged-in user and the given organization
operationId: getUserPermissions_4
parameters:
- name: orgToken
in: path
description: 'org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: **Integrate** tab > **API Key**).'
required: true
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DWRResponseUserPermissionListDTO'
components:
schemas:
DWRResponseCollectionRoleDTO:
type: object
properties:
supportToken:
title: Support Token
type: string
example: 1171c60d
retVal:
type: array
items:
type: string
enum:
- DEFAULT_APPROVER
- ADMIN
- ALERT_EMAIL_RECEIVER
- ALERTS_IGNORER
- LICENSE_AND_COPYRIGHT_ASSIGNER
- AUDITOR
- USER
- PRODUCT_INTEGRATOR
- SBOM_EXPORTER
UserPermissionListDTO:
type: object
properties:
permissions:
type: array
items:
title: User Permissions
type: string
example: POLICIES__POLICY__VIEW
DWRResponseBase:
type: object
properties:
supportToken:
title: Support Token
type: string
example: 1171c60d
DWRResponseUserPermissionListDTO:
type: object
properties:
supportToken:
title: Support Token
type: string
example: 1171c60d
retVal:
$ref: '#/components/schemas/UserPermissionListDTO'
securitySchemes:
bearer-key:
type: http
description: JWT token Bearer
scheme: bearer
bearerFormat: JWT