Method Route Description
PATCH/PUT /v1/folders/:uuid Updates a folder’s name and description.


Param Type Description Required
Authorization String *Authorization token to access the route.
Ex: Bearer eyJ0eXAiOiJKV1QiLC…

* Token generated by the authentication route

Query params

Param Type Description Required
uuid String Gallery uid. Yes

Body params

Param Type Description Required
name String Gallery name. No
description String Gallery description. No


– Response when updating gallery (Status: 200)

    "id": 109,
    "id_customer_plans": 256,
    "parentId": null,
    "hierarchyLevel": null,
    "name": "teste name",
    "description": "teste description",
    "created_date": "2022-06-08T13:40:23.000Z",
    "updated_date": "2022-06-08T13:40:23.000Z",
    "uuid": "9a4b6b1a-0617-4609-a2c7-1f35fe7016a2"

– Error response when not finding specified folder (Status: 404)

    "error": "Folder not found"

– Error response for some internal error (Status: 500)

  "error": "Internal Server Error"

Leia em outros idiomas: English Português (Brazil) Español