---
title: "Delete data retention policy"
method: DELETE
path: "/experimental/flow/folder/data_retention_policy"
tags: ["Data Retention"]
---

# Delete data retention policy

`DELETE /experimental/flow/folder/data_retention_policy`

## Request

- Base URL: `https://scrive.com`
- URL: `https://scrive.com/experimental/flow/folder/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/data_retention_policy/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the data retention policy of the caller's home folder.

## Response `204`

---

[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)
