Skip to main content

Execute QOperation

Select

Customer Managed

Commvault REST APIs support sending QCommands as a request. QCommands and QOperations can be executed that are passed in the parameter.

For Example:

qlist client HTTP/1.1

If the QCommand or OPeration requires a payload, the XML can be passed in the body of the request. More Details

Path Parameters
  • qcommand string required

    QCommand to run

Request Body

XML payload for QCommands

  • string
Responses

OK


Schema
  • error object
  • errorString string
  • errorCode integer
POST /qcommand/:qcommand    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
qcommand — path required
Body

Accept
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/QCommand/:qcommand' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''