Update Image

Update Image

PATCH {{URL}}/api/v1/gallery/:image_id

This endpoint allows you to update the parameters of the image such as Image name and tag.

Path Parameters

Name
Type
Description

image_id

string

The ID of the image to be updated.

Headers

Name
Type
Description

Authentication

string

Authentication token to the user.

{
    "status": "success",
    "message": "Image updated successfully",
    "results": 1,
    "data": {
        "photoUrl": [
            "https://auragallery.s3.amazonaws.com/gallery/phoenix-han-ZS_RypKo9sk-unsplash-1625055409817.jpg"
        ],
        "_id": "60dc6069a7dd091b1458eaed",
        "imageName": "Classic T-shirt",
        "tag": "Hamani",
        "__v": 0
    }
}

Last updated

Was this helpful?