provider Reference Tables POST /api/v2/reference-tables/tables/{id}/rows
@utdk/datadog /api/v2/reference-tables/tables/{id}/rows
Upsert rows
Create or update rows in a Reference Table by their primary key values. If a row with the specified primary key exists, it is updated; otherwise, a new row is created.
id path required
Unique identifier of the reference table to upsert rows into
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

upsertrows
POST/api/v2/reference-tables/tables/{id}/rows
Create or update rows in a Reference Table by their primary key values. If a row with the specified primary key exists, it is updated; otherwise, a new row is created.

Parameters

required

Unique identifier of the reference table to upsert rows into

Input

required

List of row resources to create or update in the reference table.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.upsertrows()