provider Data Deletion POST /api/v2/deletion/data/{product}
@utdk/datadog /api/v2/deletion/data/{product}
Creates a data deletion request
Creates a data deletion request by providing a query and a timeframe targeting the proper data.
product path required
Name of the product to be deleted, either `logs` or `rum`.
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.

createdatadeletionrequest
POST/api/v2/deletion/data/{product}
Creates a data deletion request by providing a query and a timeframe targeting the proper data.

Parameters

required

Name of the product to be deleted, either `logs` or `rum`.

Input

required

Data needed to create a data deletion request.

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