---
title: "Update Story"
method: PATCH
path: "/api/v1/stories/{story_id}"
tags: ["api", "api", "stories"]
---

# Update Story

`PATCH /api/v1/stories/{story_id}`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/stories/{story_id}`
- Auth: HTTP bearer

## Path parameters

- `story_id` string, required

## Request body

- StoryUpdate
  - `title` string, nullable
  - `content` string, nullable
  - `type` string, nullable
  - `genre` string, nullable
  - `theme` string, nullable
  - `status` string, nullable
  - `author_name` string, nullable
  - `audio_url` string, nullable

## Response `200`

Successful Response

- Story
  - `id` string, required
  - `title` string, required
  - `content` string
  - `type` string
  - `genre` string
  - `theme` string
  - `status` string
  - `author_name` string
  - `audio_url` string, nullable
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
