---
title: "Set Gallery Link Folders Endpoint"
method: PUT
path: "/galleryEmail/linkFolders"
---

# Set Gallery Link Folders Endpoint

`PUT /galleryEmail/linkFolders`

## 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/galleryEmail/linkFolders`
- Auth: none declared

Replace the default folders and push only the delta onto every existing personal link.

## Request body

- GalleryLinkFoldersRequest
  - `projectId` integer, required
  - `folderNames` string[], required
  - `confirmEmpty` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-30** `b924f00a2acd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/galleryEmail/linkFolders/put.md)

---

[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)
