---
title: "Patch Journey"
method: PATCH
path: "/journey"
---

# Patch Journey

`PATCH /journey`

## Request

- Base URL: `https://api.iliad.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.iliad.ai/journey`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Updates a journey for this user.

## Request body

- PatchJourneyRequest
  - `journey_id` string, required
  - `name` string, nullable
  - `content` JourneyContent
    - `blocks` union[], required
      - union
        - BlockText
          - `block_type` 'text', required
          - `html_content` string, required
        - BlockImage
          - `block_type` 'image', required
          - `generation_ids` string[], required
        - Block3D
          - `block_type` '3d', required
          - `generation_ids` string[], required
        - BlockImageUpload
          - `block_type` 'image-upload', required
          - `upload_ids` string[], required
  - `is_public` boolean, nullable
  - `is_public_generation_details` boolean, nullable

## Response `200`

Successful Response

- PatchJourneyResponse

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/iliad/apis/iliad-api.md) - [All operations](https://skmtc.dev/iliad/apis/iliad-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iliad/apis/iliad-api/revisions/a7c619f2643a?raw)
