---
title: "Update image"
method: PATCH
path: "/draft_trips/{trip_uuid}/images/{id}"
tags: ["Images"]
---

# Update image

`PATCH /draft_trips/{trip_uuid}/images/{id}`

Update Image

## Path parameters

- `trip_uuid` string, required
- `id` string, required

## Request body

- object
  - `data` UpdateImage — Update Image
    - `url` string — URL of the image

## Response `200`

Successfully updated

- object
  - `data` Image — Image model
    - `id` integer — ID of the image
    - `trip_uuid` string, required — Unique ID of the trip
    - `url` string, required — URL of the image
    - `created_at` integer — Time at which the object was created. Measured in seconds since the Unix epoch.

---

[API](https://skmtc.dev/wetravel/apis/authentication-api.md) · [All operations](https://skmtc.dev/wetravel/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wetravel/authentication-api/revisions/5c747875f084/schema)
