Perform power action on devices
POST/apis/v1/device-operations/powerActions
Use this method to perform a power action on one or more managed devices. An operation is created for each target device.
An asynchronous job is created to complete this request in the background. The response header returns the URI for the job in the Location field. Use GET /api/v1/jobs-management/jobs to retrieve the job status and additional job details.
A successful response code indicates that the job was successfully created and accepted by the portal. It does not indicate that the operation that is associated with the job was successful. If a job was not successfully started, refer to the response code and response body for details.
Request
Responses
- 200
- 400
- 500
Success
Failure - Invalid data
Failure - Internal server error