Skip to main content

Get MediaAgent Power Management

This operation returns & operates power management status for a cloud media agent.

Path Parameters
  • mediaAgentId int64 required
  • operation integer required

    Power on -1 Poweroff - 0

Responses

OK


Schema
  • errorMessage string
  • errorCode integer
GET /mediaagent/:mediaagentid/cloudvmpowermanagement/:operation    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
mediaAgentId — path required
operation — path required
Accept
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MediaAgent/:mediaAgentId/CloudVMPowerManagement/:operation' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'