# Undelete a process package

If a process package was accidently deleted, it may be recovered (undeleted) until the system has permanently deleted it.

## Undelete provided ProcessAPI package&#x20;

<mark style="color:orange;">`PUT`</mark> `https://api.olisystems.com/process/{process_id}`

Delete the process package supplied as the last paramter {process\_id} of the URL

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer {access\_token} |

{% tabs %}
{% tab title="200 data is an array containing information for each dbs file that was uploaded." %}

```json
{
    "message": "Process is moved to its previous state Successfully",
    "status": "SUCCESS"
}
```

{% endtab %}

{% tab title="403: Forbidden package was not recoverable" %}

```javascript
{
    "message": "User does not have required permissions",
    "status": "FAILED"
}
```

{% endtab %}
{% endtabs %}
