Skip to content

Latest commit

 

History

History
121 lines (90 loc) · 4.54 KB

windowsupdates-updatableasset-get.md

File metadata and controls

121 lines (90 loc) · 4.54 KB
title description author ms.localizationpriority ms.subservice doc_type
Get updatableAsset
Read the properties and relationships of an updatableAsset object.
ryan-k-williams
medium
windows-update-business
apiPageType

Get updatableAsset

Namespace: microsoft.graph.windowsUpdates

[!INCLUDE beta-disclaimer]

Read the properties and relationships of an updatableAsset object.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-windows-updates-apis]

HTTP request

GET /admin/windows/updates/updatableAssets/{updatableAssetId}

Optional query parameters

This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.

To use a query parameter on a property that is not inherited from updatableAsset, include the full resource type for the property. For example, to apply $select on the errors property of azureADDevice, use $select=microsoft.graph.windowsUpdates.azureADDevice/errors.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

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

Examples

Request

GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/f5ba7065-7065-f5ba-6570-baf56570baf5

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

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

{
  "value": {
    "@odata.type": "#microsoft.graph.windowsUpdates.azureADDevice",
    "id": "f5ba7065-7065-f5ba-6570-baf56570baf5"
  }
}