---
title: "Update an idea (only sent fields are touched)"
method: PATCH
path: "/ideas/{id}"
tags: ["Ideas"]
---

# Update an idea (only sent fields are touched)

`PATCH /ideas/{id}`

## Request

- Base URL: `https://api.posteahora.com/functions/v1/api`
- URL: `https://api.posteahora.com/functions/v1/api/ideas/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/posteahora/apis/posteahora-public-api/docs/ideas/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- IdeaInput
  - `title` string
  - `caption` string
  - `tags` string[]
  - `mediaUrls` string[]
  - `mediaType` 'image' | 'video'
  - `status` 'unassigned' | 'todo' | 'in_progress' | 'done'

## Response `200`

OK

- object
  - `idea` Idea
    - `title` string
    - `caption` string
    - `tags` string[]
    - `mediaUrls` string[]
    - `mediaType` 'image' | 'video'
    - `status` 'unassigned' | 'todo' | 'in_progress' | 'done'
    - `id` string, uuid
    - `position` number

## Other responses

- `404`: Resource not found (or not in the key's workspace)

---

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