> For the complete documentation index, see [llms.txt](https://docs.fortifiedid.se/pipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fortifiedid.se/pipes/valves/entraid/directory/restore-deleted-item.md).

# Restore Deleted Item

Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item.

{% hint style="info" %}
<https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-restore>
{% endhint %}

## Introduction

Restore a single item from Entra ID. Requires an EntraID module.

## Configuration

{% hint style="info" %}
**Valve name:** `EntraIDRestoreDeletedItem`
{% endhint %}

{% tabs %}
{% tab title="Properties" %}

<table><thead><tr><th width="196">Name</th><th width="213">Description</th><th width="147">Default value</th><th width="127" data-type="checkbox">Mandatory</th><th data-type="checkbox">Expanded</th></tr></thead><tbody><tr><td><code>namespace</code></td><td>Bind to EntraID module</td><td></td><td>false</td><td>false</td></tr><tr><td><code>item_id</code></td><td>Item id.</td><td></td><td>true</td><td>true</td></tr><tr><td><code>id_property</code></td><td>Select this attribute as item ID.</td><td><code>"id"</code></td><td>false</td><td>false</td></tr><tr><td><code>use_beta_api</code></td><td>Graph API beta endpoint.</td><td><code>false</code></td><td>false</td><td>false</td></tr></tbody></table>
{% endtab %}

{% tab title="Example" %}

```json
{
  "name": "EntraIDRestoreDeletedItem",
  "config": {
    "item_id": "${item.id}"
  }
}
```

{% endtab %}
{% endtabs %}
