---
title: "Update text post"
method: PATCH
path: "/posts/text/{id}"
tags: ["Posts"]
---

# Update text post

`PATCH /posts/text/{id}`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/posts/text/{id}`
- Auth: API key in header `apiKey`

## Path parameters

- `id` string, required

## Headers

- `organization` string, required

## Request body

- UpdateTextPostRestInput
  - `access` string: Access level determines who can access this post
  - `description` string: Post description
  - `entitlements` string[]: String array containing IDs of products
  - `featuredAt` string, date-time: Date the poost was featured
  - `geofence` GeofenceObject
    - `countryCodes` string[]
    - `type` 'WHITELIST' | 'BLACKLIST'
  - `media` string: Media ID
  - `pushNotification` string, date-time: Push notification
  - `status` 'DRAFT' | 'PUBLISHED': The status of the post. Enum
  - `title` string: Post title
  - `kind` string: Kind
  - `inFeed` boolean: Is this post featured in the feed?
  - `allowComments` boolean: Are comments allowed for this post?
  - `categories` string[]: Category IDs
  - `tags` string[]: Tag IDs

## Response `200`

Text post updated.

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
