---
title: "Update paragraph"
method: PATCH
path: "/draft_trips/{trip_uuid}/paragraphs/{id}"
tags: ["Paragraphs"]
---

# Update paragraph

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

Update Paragraph

## Path parameters

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

## Request body

- object
  - `data` UpdateParagraph — Update Paragraph
    - `title` string — Title of the paragraph.yml
    - `text` string — Text of the paragraph.yml

## Response `200`

Successfully updated

- object
  - `data` Paragraph — Paragraph model
    - `id` integer — ID of the paragraph
    - `trip_uuid` string, required — Unique ID of the trip
    - `title` string, required — Title of the paragraph
    - `text` string, required — Text of the paragraph
    - `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)
