---
title: "Patch a story by the story ID"
method: PATCH
path: "/projects/{appId}/stories/{storyId}"
tags: ["stories"]
---

# Patch a story by the story ID

`PATCH /projects/{appId}/stories/{storyId}`

## Request

- Base URL: `https://epics-api.mendix.com/v1`
- URL: `https://epics-api.mendix.com/v1/projects/{appId}/stories/{storyId}`
- Auth: API key in header `Authorization`

Returns the status code 204.

## Path parameters

- `appId` string, uuid, required
- `storyId` string, required

## Request body

- object
  - `title` string
  - `description` string
  - `storyPoints` integer
  - `storyType` 'Bug' | 'Feature'
  - `storyLevel` 'Active' | 'NextSprint' | 'InRefinement' | 'Backlog'
  - `storyStatus` string

## Response `204`

Successful operation

## Other responses

- `400`: The request likely contains invalid data or is missing data. The error response gives additional feedback.
- `401`: The required item could not be found. The error response gives additional feedback.
- `404`: The required item could not be found. The error response gives additional feedback.

---

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