Update Post by ID

This operation updates a user post by ID. User posts have the property type set to user-post. The request can take the full post object as input, but other than postDetails.text all other fields are optional and read-only.

Authorization and Permissions

  • An OpenAm token is required to update a post.
  • The user must have content updation permission which is set by the Talk administrator.
Path Params
string
required

The ID of the post to update.

Body Params

The Update Post by ID request payload.

string

The unique ID of a post.

string

The type of a post. Only user-post can be updated.

string

The user or entity that created a post.

groupDetails
object

The group to which a post is sent. Note: You can only create such posts from the Talk UI at this time.

postDetails
object

The detailed post model.

date-time

The date and time a post was created.

date-time

The date and time a post was last modified.

postSettings
object

The settings model which contains preference for the post. default will be a blank object.

userInteractions
object

The user interactions object, which contains details about the number of likes and comments a post has received.

Headers
string
required

An openAM token for the user.

string

A UUID value to track the request, used for debugging and tracing.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json