Skip to main content
POST
/
timeseries
/
update
JavaScript SDK
const timeseries = await client.timeseries.update([{
  id: 3785438579439,
  update: {
    name: { set: 'New name' }
  }
}]);
{
  "items": [
    {
      "id": 4503599627370496,
      "isString": true,
      "type": "<string>",
      "isStep": true,
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "externalId": "<string>",
      "instanceId": {
        "space": "<string>",
        "externalId": "<string>"
      },
      "name": "<string>",
      "metadata": {},
      "unit": "<string>",
      "unitExternalId": "<string>",
      "assetId": 4503599627370496,
      "description": "<string>",
      "securityCategories": [
        123
      ],
      "dataSetId": 4503599627370496
    }
  ]
}

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.

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

Changes will be applied to time series.

Response

Response with the corresponding time series after applying the updates.

List of responses. The order matches the requests order.

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