Update administrator role

Change the role and product-level access control configuration for the specified administrator. The request body must contain the complete desired role configuration. Any existing role settings not included in the request will be removed.
Role behavior:
- Druva Cloud - The administrator gets full access across all products. The productAccessControls field is ignored.
- Product - The productAccessControls field is required and defines per-product role and resource-level access.

The available product roles and access controls applicable for a role can be fetched using the List roles API.

Note

To use this API endpoint, enable the Administrator API from Druva Cloud settings.

Path Params
string
required

The global ID of the admin on which the action has to be performed. Get the global ID of the administrator using the List all administrators API.

Body Params

Request body

string
enum
required

Select the role of the administrator.

  • Druva Cloud - Druva Cloud Administrator is a super administrator who gets all the rights of all the administrative roles across products, based on the services enabled for your account and the privileges needed to modify account settings.
  • Product - Product administrator can perform all core product-related activities such as configuring, managing, and monitoring.
Allowed:
productAccessControls
array of objects

Product-level access control configuration for role updates.

productAccessControls
Headers
string
enum
required

Request content type header

Allowed:
Responses

400

Bad Request

404

The requested resource was not found.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json