---
title: "Remove Image From Folder Endpoint"
method: POST
path: "/removeImagesFromFolder"
---

# Remove Image From Folder Endpoint

`POST /removeImagesFromFolder`

Removes multiple images from a folder by deleting the folder name tag.

Expects:
    - JSON with:
        - 'imageIds': list of image IDs to remove from the folder
        - 'folderName': the name of the folder to remove the images from
        - 'projectId'

Process:
    1. Gets the project ID for each image
    2. Checks if the folder exists for each project
    3. Removes the folder name tag for each image if it exists

Returns:
    - Success message with results for each image
    - Detailed results including successful and failed operations

## Request body

- ModifyFolderImagesRequest
  - `imageIds` string[], required
  - `folderName` string, required
  - `projectId` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/3966713f5d52/schema)
