Skip to main content
POST
/
events
/
update
JavaScript SDK
const events = await client.events.update([{id: 123, update: {description: {set: 'New description'}}}]);
{
  "items": [
    {
      "id": 4503599627370496,
      "lastUpdatedTime": 1730204346000,
      "createdTime": 1730204346000,
      "externalId": "my.known.id",
      "dataSetId": 4503599627370496,
      "startTime": 1730204346000,
      "endTime": 1730204346000,
      "type": "<string>",
      "subtype": "<string>",
      "description": "<string>",
      "metadata": {},
      "assetIds": [
        4503599627370496
      ],
      "source": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Body

application/json

List of changes. A maximum of 1000 events can be updated per request, and all of the event IDs must be unique.

items
object[]
required
Required array length: 1 - 1000 elements

Changes will be applied to event.

Response

Paged response with list of events

items
object[]
required
Last modified on April 23, 2026