{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mend Access Management User Management - Roles And Permissions API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Management - Roles And Permissions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get User Project Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://baseUrl/api/v2.0/projects/:projectToken/permissions",
            "params": [
              {
                "name": "projectToken",
                "value": "",
                "type": "path",
                "description": "project UUID (by running Entities - Product > Get Product Projects) or Project Token (from the Mend SCA App: **Integrate** tab > **Project Token**)."
              }
            ]
          },
          "docs": "Returns the actions permitted actions to the current user in a given project"
        },
        {
          "info": {
            "name": "Get User Product Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://baseUrl/api/v2.0/products/:productToken/permissions",
            "params": [
              {
                "name": "productToken",
                "value": "",
                "type": "path",
                "description": "product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: **Integrate** tab > **Product Token**)."
              }
            ]
          },
          "docs": "This api returns the list of permitted actions for the logged-in user and the a given product"
        },
        {
          "info": {
            "name": "Get User Organization Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://baseUrl/api/v2.0/orgs/:orgToken/permissions",
            "params": [
              {
                "name": "orgToken",
                "value": "",
                "type": "path",
                "description": "org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: **Integrate** tab > **API Key**)."
              }
            ]
          },
          "docs": "This api returns the listed of permitted actions for the logged-in user and the given organization"
        }
      ]
    }
  ],
  "bundled": true
}