{
  "info": {
    "_postman_id": "b7e666a9-a8dc-4f96-b5b1-8832f880b2c0",
    "name": "Commvault Automation Agents Users API",
    "description": "API for automating Commvault workflows, job scheduling, and policy management. Enables programmatic creation and execution of custom workflows, management of schedule policies, and configuration of automated operations for data protection environments.\n\nContact Support:\n Name: Commvault Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:26:03.000Z",
    "updatedAt": "2026-07-28T01:26:03.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-b7e666a9-a8dc-4f96-b5b1-8832f880b2c0"
  },
  "item": [
    {
      "name": "User",
      "item": [
        {
          "name": "{userId}",
          "item": [
            {
              "name": "Commvault Get user details",
              "id": "490ed944-c0b0-4a08-86c1-826f4bcd657e",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/User/:userId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "User",
                    ":userId"
                  ],
                  "variable": [
                    {
                      "id": "f4059424-f8b6-40db-bdc6-d6516cc70c2f",
                      "key": "userId",
                      "value": "<integer>",
                      "description": "(Required) Unique identifier for the user"
                    }
                  ]
                },
                "description": "Retrieves detailed properties of a specific user, including associated security roles, user groups, and email configuration."
              },
              "response": [
                {
                  "id": "ffa0a4b8-c719-4163-a294-9ffc4ef4be7b",
                  "name": "User details",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/User/:userId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "User",
                        ":userId"
                      ],
                      "variable": [
                        {
                          "key": "userId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"userEntity\": {\n    \"userId\": \"<integer>\",\n    \"userName\": \"<string>\"\n  },\n  \"email\": \"<email>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"associatedUserGroups\": [\n    {\n      \"userGroupName\": \"<string>\"\n    },\n    {\n      \"userGroupName\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T01:26:03.000Z",
                  "updatedAt": "2026-07-28T01:26:03.000Z",
                  "uid": "35240-ffa0a4b8-c719-4163-a294-9ffc4ef4be7b"
                },
                {
                  "id": "1a64d9a2-01e6-4508-8944-ae740e8bd125",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/User/:userId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "User",
                        ":userId"
                      ],
                      "variable": [
                        {
                          "key": "userId"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:26:03.000Z",
                  "updatedAt": "2026-07-28T01:26:03.000Z",
                  "uid": "35240-1a64d9a2-01e6-4508-8944-ae740e8bd125"
                },
                {
                  "id": "7b7be29f-643d-4419-9e54-58d1f1dbf195",
                  "name": "User not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authtoken",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/User/:userId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "User",
                        ":userId"
                      ],
                      "variable": [
                        {
                          "key": "userId"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:26:03.000Z",
                  "updatedAt": "2026-07-28T01:26:03.000Z",
                  "uid": "35240-7b7be29f-643d-4419-9e54-58d1f1dbf195"
                }
              ],
              "createdAt": "2026-07-28T01:26:03.000Z",
              "updatedAt": "2026-07-28T01:26:03.000Z",
              "uid": "35240-490ed944-c0b0-4a08-86c1-826f4bcd657e"
            }
          ],
          "id": "eb5bc536-127c-4457-9df1-0f2ed718ef3a",
          "createdAt": "2026-07-28T01:26:03.000Z",
          "updatedAt": "2026-07-28T01:26:03.000Z",
          "uid": "35240-eb5bc536-127c-4457-9df1-0f2ed718ef3a"
        },
        {
          "name": "Commvault List users",
          "id": "02963ac9-81bc-4302-a4bd-e76e1d96aaf8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/User",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "User"
              ]
            },
            "description": "Retrieves a list of all Commvault users, including local and externally authenticated users, their roles, and associated user groups."
          },
          "response": [
            {
              "id": "a4401bcb-2180-4efa-b4da-e42ca7501eff",
              "name": "List of users",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authtoken",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/User",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "User"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"users\": [\n    {\n      \"userEntity\": {\n        \"userId\": \"<integer>\",\n        \"userName\": \"<string>\"\n      },\n      \"email\": \"<email>\",\n      \"description\": \"<string>\",\n      \"enabled\": \"<boolean>\",\n      \"associatedUserGroups\": [\n        {\n          \"userGroupName\": \"<string>\"\n        },\n        {\n          \"userGroupName\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"userEntity\": {\n        \"userId\": \"<integer>\",\n        \"userName\": \"<string>\"\n      },\n      \"email\": \"<email>\",\n      \"description\": \"<string>\",\n      \"enabled\": \"<boolean>\",\n      \"associatedUserGroups\": [\n        {\n          \"userGroupName\": \"<string>\"\n        },\n        {\n          \"userGroupName\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T01:26:03.000Z",
              "updatedAt": "2026-07-28T01:26:03.000Z",
              "uid": "35240-a4401bcb-2180-4efa-b4da-e42ca7501eff"
            },
            {
              "id": "519d9dcc-593e-457a-913b-f3701746b3c5",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authtoken",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/User",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "User"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T01:26:03.000Z",
              "updatedAt": "2026-07-28T01:26:03.000Z",
              "uid": "35240-519d9dcc-593e-457a-913b-f3701746b3c5"
            }
          ],
          "createdAt": "2026-07-28T01:26:03.000Z",
          "updatedAt": "2026-07-28T01:26:03.000Z",
          "uid": "35240-02963ac9-81bc-4302-a4bd-e76e1d96aaf8"
        }
      ],
      "id": "d83e851d-28b0-4772-986f-bb923c7b3a9e",
      "createdAt": "2026-07-28T01:26:03.000Z",
      "updatedAt": "2026-07-28T01:26:03.000Z",
      "uid": "35240-d83e851d-28b0-4772-986f-bb923c7b3a9e"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authtoken",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "webserver",
      "value": "webconsole.example.com"
    },
    {
      "key": "baseUrl",
      "value": "https://{{webserver}}/webconsole/api"
    }
  ]
}