provider Logs Archives PUT /api/v2/logs/config/archives/{archive_id}
@utdk/datadog /api/v2/logs/config/archives/{archive_id}
Update an archive
Update a given archive configuration. **Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.
archive_id path required
The ID of the archive.
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.

updatelogsarchive
PUT/api/v2/logs/config/archives/{archive_id}
Update a given archive configuration. **Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.

Parameters

required

The ID of the archive.

Input

The definition of an archive.

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