# 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 %}


---

# 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://devdocs.olisystems.com/dbs-file-list-2.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.
