Skip to main content

Execute QCommand

[Deprecation notice]

Starting from FR36, this API will no longer be supported and will be deprecated. Instead, kindly utilize /qcommand/qoperation as a substitute.

Commvault REST APIs support sending QCommands as a request.

More Details
Header Parameters
  • Content-Type string required

    Possible values: [application/x-www-form-urlencoded]

Request Body
  • command string
  • inputRequestXML string
Responses

OK


Schema
  • installPackageInfo object[]
  • displayName string
  • isPackageAlreadyInstalled boolean
  • parentPath string
  • packageId integer
  • description string
  • packageName string
  • requiredPackageIds integer[]
  • excludePackages integer[]
POST /executeqcommand    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Content-Type — header required
Body
command
inputRequestXML
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ExecuteQCommand' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'