Update sideLoadingKey

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Update the properties of a sideLoadingKey object.

Prerequisites

One of the following scopes is required to execute this API:

DeviceManagementServiceConfiguration.ReadWrite.All

HTTP Request

PATCH /deviceAppManagement/sideLoadingKeys/{sideLoadingKeyId}

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

In the request body, supply a JSON representation of a sideLoadingKey object. The following table shows the properties that are required when you create a sideLoadingKey.

Property Type Description
id String Side Loading Key Unique Id.
value String Side Loading Key Value, it is 5x5 value, seperated by hiphens.
displayName String Side Loading Key Name displayed to the ITPro Admins.
description String Side Loading Key description displayed to the ITPro Admins..
totalActivation Int32 Side Loading Key Total Activation displayed to the ITPro Admins.
lastUpdatedDateTime String Side Loading Key Last Updated Date displayed to the ITPro Admins.

Response

If successful, this method returns a 200 OK response code and an updated sideLoadingKey object in the response body.

Example

Request

Here is an example of the request.

PATCH https://graph.microsoft.com/beta/deviceAppManagement/sideLoadingKeys/{sideLoadingKeyId}
Content-type: application/json
Content-length: 193

{
  "value": "Value value",
  "displayName": "Display Name value",
  "description": "Description value",
  "totalActivation": 15,
  "lastUpdatedDateTime": "Last Updated Date Time value"
}

Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 295

{
  "@odata.type": "#microsoft.graph.sideLoadingKey",
  "id": "21c4a3ff-a3ff-21c4-ffa3-c421ffa3c421",
  "value": "Value value",
  "displayName": "Display Name value",
  "description": "Description value",
  "totalActivation": 15,
  "lastUpdatedDateTime": "Last Updated Date Time value"
}