Update an archive

PUT {{baseUrl}}/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.

Request Body

{"data"=>{"type"=>"archives", "attributes"=>{"name"=>"<string>", "query"=>"<string>", "destination"=>{"storage_account"=>"<string>", "container"=>"<string>", "integration"=>{"tenant_id"=>"<string>", "client_id"=>"<string>"}, "type"=>"azure", "path"=>"<string>", "region"=>"<string>"}, "include_tags"=>false, "rehydration_max_scan_size_in_gb"=>"<long>", "rehydration_tags"=>["<string>", "<string>"]}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;type&quot;:&quot;archives&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;query&quot;:&quot;\u003cstring\u003e&quot;,&quot;destination&quot;:{&quot;storage_account&quot;:&quot;\u003cstring\u003e&quot;,&quot;container&quot;:&quot;\u003cstring\u003e&quot;,&quot;integration&quot;:{&quot;tenant_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;client_id&quot;:&quot;\u003cstring\u003e&quot;},&quot;type&quot;:&quot;azure&quot;,&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;region&quot;:&quot;\u003cstring\u003e&quot;},&quot;include_tags&quot;:false,&quot;rehydration_max_scan_size_in_gb&quot;:&quot;\u003clong\u003e&quot;,&quot;rehydration_tags&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;state&quot;:&quot;FAILING&quot;},&quot;id&quot;:&quot;\u003cstring\u003e&quot;}}