Gallery Platform API
ReferenceGallery

Update the gallery

Updates the gallery's title, description, and/or visibility. Requires the gallery:write scope (key) or editor membership (user).

PATCH
/gallery

Updates the gallery's title, description, and/or visibility. Requires the gallery:write scope (key) or editor membership (user).

Authorization

bearerAuth gallery:write
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:write

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 24h instead of re-running the write.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Fields to update on the gallery (all optional).

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/gallery" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "slug": "string",  "title": "string",  "description": "string",  "visibility": "public",  "base_currency": "string",  "created_at": "string",  "updated_at": "string"}