provider Datasets PUT /api/v2/datasets/{dataset_id}
@utdk/datadog /api/v2/datasets/{dataset_id}
Edit a dataset
Edits the dataset associated with the ID.
dataset_id path required
The ID of a defined dataset.
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.

updatedataset
PUT/api/v2/datasets/{dataset_id}
Edits the dataset associated with the ID.

Parameters

required

The ID of a defined dataset.

Input

required

**Datasets Object Constraints** - **Tag limit per dataset**: - Each restricted dataset supports a maximum of 10 key:value pairs per product. - **Tag key rules per telemetry type**: - Only one tag key or attribute may be used to define access within a single telemetry type. - The same or different tag key may be used across different telemetry types. - **Tag value uniqueness**: - Tag values must be unique within a single dataset. - A tag value used in one dataset cannot be reused in another dataset of the same telemetry type.

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.updatedataset()