Gallery Categories

PATCH

Update Gallery Category

Update an existing gallery category by ID.

Required Permission: Edit Gallery Category
PATCH /dashboard/gallery-categories/{id}

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
name String Optional string, max:255 Name of the gallery category
type Integer Optional integer, in:1,2 1 for photo, 2 for video
position Integer Optional integer The position/order of the gallery category.

Response

200 OK
Status Code
HTTP status code (200)
Message
Gallery category successfully updated
Data
Updated gallery category record