---
title: "Cancel a retention update for a partition"
method: POST
path: "/v1/partitions/{id}/cancelRetentionUpdate"
tags: ["partitionManagement"]
---

# Cancel a retention update for a partition

`POST /v1/partitions/{id}/cancelRetentionUpdate`

Cancel update to retention of a partition for which retention was updated previously using `reduceRetentionPeriodImmediately` parameter as false

## Path parameters

- `id` string, required

## Response `204`

The retention update was cancelled successfully.

## 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/revisions/18a824df1e78/schema)
