---
title: "Restore Images Endpoint"
method: POST
path: "/restoreImages"
---

# Restore Images Endpoint

`POST /restoreImages`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/restoreImages`
- Auth: none declared

Restores multiple images from trash (undeletes them).

Expects:
    - JSON with:
        - 'imageIds': list of image IDs to restore
        - 'projectId'

Returns:
    - Success message with counts of restored images
    - Error if imageIds is missing or invalid

## Request body

- RestoreImagesRequest
  - `projectId` integer, required
  - `imageIds` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavoot/apis/pavoot-api.md) - [All operations](https://skmtc.dev/pavoot/apis/pavoot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pavoot/apis/pavoot-api/revisions/8c0cd91c2a05?raw)
