cloudPC: restore

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) CloudPC.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application CloudPC.ReadWrite.All

HTTP request

POST /deviceManagement/virtualEndpoint/cloudPCs/{id}/restore

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the parameters.

The following table shows the parameters that can be used with this action.

Parameter Type Description
cloudPcSnapshotId String The unique identifier for the snapshot of the Cloud PC device at a specific point in time.


If successful, this method returns a 204 No Content response code.



The following is an example of a request.

Content-Type: application/json
Content-length: 37

    "cloudPcSnapshotId": "A00009UV000_93aff428-61f2-467f-a879-1102af6fd4a8"


The following is an example of the response.

HTTP/1.1 204 No Content