vcenter deployment import history: pause

Pauses the task for importing vCenter historical data. This operation was added in vSphere API 6.7

Request:

HTTP request

POST https://{server}/rest/vcenter/deployment/history?action=pause
No request parameters

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized to perform the operation.
400 not_allowed_in_current_state if vCenter historical data import task cannot be paused at this time. Pause can be accepted only in Status#RUNNING state
400 already_in_desired_state if vCenter historical data import task is already paused
500 error Generic error