Update Event by ID

This operation updates an event by ID.

Authorization and Permissions

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

The ID of the event to update.

Body Params

Request can take the full event object as input. But only title, content, location, startdatetime, enddatetime and scheduledDateTime can be edited.

string

The title of an event. The title cannot exceed 200 characters.

string

The content of the event in plaintext format. The content cannot exceed 5000 characters.

date-time

The start date and time of an event. It should be in ISO8601 datetime format.

date-time

The end date and time of an event.It should be in ISO8601 datetime format.

boolean

A Boolean indicator of whether or not comments are enabled for this event. Defaults to true.

string

The location associated with an event. The location cannot exceed 100 characters.

date-time

The scheduled date and time for an event to be released to users.It should be in ISO8601 datetime format.

coverImage
object

The attachment model used across different content types.

attachments
array of objects

The attachments to include with the announcement. The attachment object should be the same returned by the file upload API.

attachments
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