Galleries

PATCH

Update Gallery

Update an existing gallery image.

Required Permission: Edit Gallery
PATCH /galleries/{id}

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
gallery_category_id Integer Optional integer, exists:gallery_categories,id Gallery category ID
title String Optional string, max:255 Image title
image File Optional image, mimes:jpeg,png,jpg,gif,webp, max:2048 Image file
sort_order Integer Optional integer Display order
status Boolean Optional boolean Status (0 or 1)

Response

200 OK
Status Code
HTTP status code (200)
Message
Human-readable description
Data
Gallery details