younifyd
Menu

Put Logs Ttl

Update Logs Time-to-Live (TTL) Settings

PUT/v2/settings/logs-ttl

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Put Logs Ttl action (under Personal Data).
  3. Fill in the fields below, then reference the result from later steps as {{putLogsTtl.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

dataobjectrequired
daysinteger

The number of days to retain the logs. Allowed values are between 1 and 365.

typestring

The type of the object. Always equal to `time_to_live`.

json
{
  "data": {
    "days": 10,
    "type": "string"
  }
}

Response

Returns 200 with an object. Read it in later steps with {{putLogsTtl.response.data.<field>}}.

dataobject
daysinteger

The number of days to retain the logs. Allowed values are between 1 and 365.

typestring

The type of the object. Always equal to `time_to_live`.

json
{
  "data": {
    "days": 10,
    "type": "string"
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Put Logs Ttl — Elastic Path — Documentation