---
title: "Delete data retention policy of a given folder"
method: DELETE
path: "/experimental/flow/folder/{folder_id}/data_retention_policy"
tags: ["Data Retention"]
---

# Delete data retention policy of a given folder

`DELETE /experimental/flow/folder/{folder_id}/data_retention_policy`

## Request

- Base URL: `https://scrive.com`
- URL: `https://scrive.com/experimental/flow/folder/{folder_id}/data_retention_policy`
- Auth: one of:
  - HTTP oauth1
  - OAuth 2
    - Authorization code: `/oauth2/auth`
    - Token URL: `/oauth2/token` scopes: `full`
  - API key in cookie `sessionId` and API key in header `X-Scrive-XToken`
- TypeScript: <https://skmtc.dev/scrive/apis/scrive-flow-api/docs/experimental/flow/folder/:folder_id/data_retention_policy/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the data retention policy of the specified folder.

## Path parameters

- `folder_id` string, required

## Response `204`

## Other responses

- `404`: `folder_id` not found

---

[API](https://skmtc.dev/scrive/apis/scrive-flow-api.md) - [All operations](https://skmtc.dev/scrive/apis/scrive-flow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrive/apis/scrive-flow-api/revisions/f9b2836863f2?raw)
