Skip to main content

Atomic Overwrite Log Policies

PUThttps://api.eu1.coralogix.com/mgmt/openapi/5/dataplans/log-policies/v1

Updates the log data retention policies.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Body

application/json

In an atomic operation delete all existing log policies and create the provided list by order.

    Replaces every log policy of the team with this list, in this order: the first policy gets order 1. An overwrite that changes the policies gives each a new id; one that sends the stored policies again keeps their ids. An empty list deletes every log policy.

    Possible values: <= 200

Response

application/json

This data structue is obtained when overwriting log policies atomically.

    The create responses.

    Possible values: <= 200