Druva Admin Roles API

The Admin Roles API from Druva — 1 operation(s) for admin roles.

Operations 1

GET /console/v1/roles/{productID} List roles #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/druva-admin-roles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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 Specification

druva-admin-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Admin Roles API
  description: Platform Public APIs
  version: 1.0.0
servers:
- url: https://apis.druva.com/platform
security:
- Bearer: []
tags:
- name: Admin Roles
paths:
  /console/v1/roles/{productID}:
    get:
      tags:
      - Admin Roles
      summary: List roles
      description: Returns the list of Product Administrator Roles and the resources they can access.
      operationId: ListRolesRequest
      parameters:
      - name: productID
        in: path
        description: Possible values are 8193 - Endpoints and SaaS Apps, 12289 - Enterprise Workloads
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          enum:
          - 8193
          - 12289
      - name: Content-Type
        in: header
        description: Request content type header
        required: true
        style: simple
        explode: false
        schema:
          type: string
          enum:
          - application/json
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRolesResponse'
        '400':
          description: Bad Request
          content: {}
        '404':
          description: The requested resource was not found.
          content: {}
        '500':
          description: The request was not processed due to an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
components:
  schemas:
    ListRolesResponse:
      title: ListRolesResponse ...
      type: array
      items:
        $ref: '#/components/schemas/ListRolesResponse_inner'
    APIError:
      type: object
      properties:
        code:
          type: string
          x-go-name: Code
        data:
          type: object
          additionalProperties:
            type: object
          x-go-name: Data
        message:
          type: string
          x-go-name: Message
        retryable:
          type: boolean
          x-go-name: Retry
      description: APIError defines an application error result format
      x-go-package: druva.com/godevkit/errortype
    ListRolesResponse_inner:
      type: object
      properties:
        role:
          type: string
          description: "The role of the administrator you want to create. \n```\nPossible Enterprise Workloads roles are :\n- Cloud Administrator\n- Cloud Administrator (View-only)\n- Data Protection Officer\n- Organization Administrator\n- Organization Administrator (View-only)\n- Group Administrator\n- Group Administrator (View-only)\nPossible inSync roles are :\n- Cloud Admin\n- Data Protection Officer\n- Help Desk Admin\n- Legal Admin\n- Profile Admin\n- Sensitive Data Governance Admin\n- View Only Admin\n- Workload Admin\n```\n"
          example: Profile Admin
        accessControl:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                description: Resource can be Organization or Groups for Enterprise Workloads. Resource can be Workload, Profiles or Legal Hold Types for Endpoint and SaaS Apps.
                example: Workloads
              collections:
                type: array
                items:
                  type: object
                  properties:
                    collectionID:
                      type: integer
                      description: 'The id of the resource for which you want to allow admin to access.

                        - The id of the site or organization for Enterprise Workloads

                        - The id of the Workload or Profile or Legal Hold Type for for Endpoints and SaaS Apps

                        '
                      example: 1
                    collectionName:
                      type: string
                      description: 'The name of the resource for which you want to allow admin to access.

                        - The name of the site or organization for Enterprise Workloads

                        - The name of the Workload or Profile or Legal Hold Type for for Endpoints and SaaS Apps

                        '
                      example: Endpoints
                    itemList:
                      type: array
                      description: Details of group of which admin access is provided
                      items:
                        type: object
                        properties:
                          itemID:
                            type: integer
                            description: Group id of the site the admin should be granted access
                          itemName:
                            type: string
                            description: Group name of the site the admin should be granted access
                      default: []
                  description: 'Details of the resource for which administrator access is provided -

                    - Organization or site for Enterprise Workloads

                    - Workloads or Profiles or Legal Hold Types for Endpoints and SaaS Apps

                    '
  securitySchemes:
    BearerAuth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://apis.druva.com/token
          scopes:
            read: Grants read access
    Bearer:
      type: apiKey
      name: Authorization
      in: header
x-readme:
  explorer-enabled: true
  proxy-enabled: true