---
title: How to Restore a Deleted Policy
url: https://docs.vultr.com/platform/iam/policies/how-to-restore-a-deleted-policy
description: Restore a previously deleted IAM policy on Vultr. Recover the policy and its permission rules to reassociate it with users, groups, and roles in the system.
publish_date: 2026-03-24T19:52:12.706610Z
last_updated: 2026-06-01T21:19:43.502448Z
---

Restoring a deleted policy reinstates it along with its permission rules. This is useful when a policy was deleted by mistake or when you need to recover permission configurations.

> [!NOTE]
> To restore a deleted policy, you must have the policy's `id`.

This guide explains how to restore a previously deleted policy using the Vultr API.

1. Send a `PATCH` request to the [**Restore Policy** endpoint](https://www.vultr.com/api/#tag/iam/operation/restore-iam-policy) to restore the deleted policy. Replace `{policy-id}` with the id of the deleted policy.

    ```console
    $ curl "https://api.vultr.com/v2/policies/{policy-id}/restore" \
        -X PATCH \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

    A successful restoration returns an HTTP `202 Accepted` response.

1. Send a `GET` request to the [**Read Policy** endpoint](https://www.vultr.com/api/#tag/iam/operation/get-iam-policy) to retrieve the policy details.

    ```console
    $ curl "https://api.vultr.com/v2/policies/{policy-id}" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

    Verify that the policy details are intact.