Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important: Microsoft supports Intune /beta APIs, but they are subject to more frequent change. Microsoft recommends using version v1.0 when possible. Check an API's availability in version v1.0 using the Version selector.
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Update the properties of a sideLoadingKey object.
Permissions
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) | DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementConfiguration.ReadWrite.All |
| Delegated (personal Microsoft account) | Not supported. |
| Application | DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementConfiguration.ReadWrite.All |
HTTP Request
PATCH /deviceAppManagement/sideLoadingKeys/{sideLoadingKeyId}
Request headers
| Header | Value |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Accept | application/json |
Request body
In the request body, supply a JSON representation for the sideLoadingKey object.
The following table shows the properties that are required when you create the 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: 246
{
"@odata.type": "#microsoft.graph.sideLoadingKey",
"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"
}