# Unenroll Updatable Assets

### Description

This script unenrolls devices from Windows Update for Business.

### Location

Device → General → Unenroll Updatable Assets

**Full Runbook name**

rjgit-device\_general\_unenroll-updatable-assets

### Permissions

#### Application permissions

* **Type**: Microsoft Graph
  * WindowsUpdates.ReadWrite.All

### Parameters

#### DeviceId

DeviceId of the device to unenroll.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

#### UpdateCategory

Category of updates to unenroll from. Possible values are: driver, feature, quality or all (delete).

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value | all    |
| Type          | String |

[Back to Runbook Reference overview](/automation/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/automation/runbooks/runbook-references/device/general/unenroll-updatable-assets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
