---
title: "Update an organization post."
method: PUT
path: "/Ams/{ClientID}/OrganizationPosts/{PostId}"
tags: ["Ams"]
---

# Update an organization post.

`PUT /Ams/{ClientID}/OrganizationPosts/{PostId}`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/OrganizationPosts/{PostId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/OrganizationPosts/:PostId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an organization post.

## Path parameters

- `PostId` integer, required
- `ClientID` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `LinkItemType` 'WallPost' | 'WallPostComment' | 'BlogPost' | 'BlogPostComment' | 'ForumPost' | 'ForumPostComment' | 'Forum' | 'EventRegistration' | 'Event' | 'Survey' | 'NewsItem' | 'Photo'
  - `LinkItemId` integer
  - `SendNotificationAlert` boolean
  - `PostText` string
  - `PostHtml` string
  - `PostImageUrl` string
  - `ContentToken` string
  - `ContentUrl` string
  - `PageNumber` integer
  - `PageSize` integer
  - `OffSet` integer
  - `DefaultComments` integer
  - `Active` boolean
  - `Repost` boolean
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ResponseStatus` string
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

## Response `200`

Success

- OrganizationPostsResponse: OrganizationPostsResponse
  - `PhotoIdList` integer[]
  - `LinkItemType` 'WallPost' | 'WallPostComment' | 'BlogPost' | 'BlogPostComment' | 'ForumPost' | 'ForumPostComment' | 'Forum' | 'EventRegistration' | 'Event' | 'Survey' | 'NewsItem' | 'Photo'
  - `LinkItemId` integer
  - `SendNotificationAlert` boolean
  - `PostId` integer
  - `PostText` string
  - `PostHtml` string
  - `PostImageUrl` string[]
  - `ContentToken` string
  - `ContentUrl` string
  - `PageNumber` integer
  - `PageSize` integer
  - `OffSet` integer
  - `DefaultComments` integer
  - `Active` boolean
  - `Repost` boolean
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
