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
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.

Configure credentials above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.updatelogsarchive()