---
title: "Set the threat intel indicators store retention period in terms of days."
method: POST
path: "/v1/threatIntel/datastore/retentionPeriod"
tags: ["threatIntelIngest"]
---

# Set the threat intel indicators store retention period in terms of days.

`POST /v1/threatIntel/datastore/retentionPeriod`

Sets the threat intel indicators store retention period in terms of days.

## Request body

- DatastoreRetentionPeriod
  - `retentionPeriod` integer, required — Retention period in days.

## Response `200`

Threat intel indicators store retention period.

- DatastoreRetentionPeriod
  - `retentionPeriod` integer, required — Retention period in days.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
