Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move "data retention" section from account and data deletion to data retention policy #7490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions src/privacy/data-retention-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,45 @@ The default data retention period for each of the data types is as follows:
| **Team** | 365 days | Not applicable | 90 days | 365 days | Not applicable |
| **Free** | 180 days | Not applicable | 60 days | 180 days | Not applicable |

Through the self-serve Data Retention configuration in your workspace, you can configure a custom data retention period through the **Workspace Default Archive Retention Period** setting.
Through the self-serve Data Retention configuration in your workspace, you can configure a custom data retention period through the [Workspace Default Archive Retention Period](#workspace-default-archive-retention-period) setting.

Segment recommends keeping your data for at least 30 days to enable [replays](/docs/guides/what-is-replay/) of your data.

To change your data retention settings, open Segment and navigate to **Privacy > Settings > Data Retention**.

### Workspace Default Archive Retention Period

Select the default retention period for the workspace in this setting. This value applies to all sources in the workspace, unless overridden in the [Source-Level Archive Retention Periods](#source-level-archive-retention-periods) setting.

> warning "7 day Retention Periods will be deprecated on March 6, 2025"
> After March 6, you will no longer be able to set your workspace's retention period to 7 days. All workspaces with 7 day retention periods will be updated to have 14 day retention periods.

You can select from the following Archive Retention time periods:

- 14 days
- 30 days
- 90 days
- 180 days
- 365 days
- Unlimited (**default**)

### Source-Level Archive Retention Periods

> warning "Source-Level Archive Retention Periods will be deprecated on April 15, 2025"
> After April 15, you will no longer be able to override your workspace's default retention period on a source-by-source basis.

Override the workspace default retention period on a per-source level.

You can select from the following Archive Retention time periods:

- Default (This is the default value you set in the [Workspace Default Archive Retention Period](#workspace-default-archive-retention-period))
- 14 days
- 30 days
- 90 days
- 180 days
- 365 days
- Unlimited

Segment unrecoverably deletes a [Unify Space](/docs/unify/identity-resolution/space-setup/#step-one-create-a-new-dev-space) 90 days after it was disabled.

### What data is impacted?

Expand Down
45 changes: 2 additions & 43 deletions src/privacy/user-deletion-and-suppression.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,49 +102,8 @@ Segment creates a `SUPPRESS` regulation, and adds the `userId` to your suppressi
> info "SUPPRESS_WITH_DELETE requests"
> The Suppressed Users tab only includes `SUPPRESS_ONLY` regulations. If you created a User Deletion request using the UI, you will need to check the [**Deletion Requests**](#deletion-requests-tab) tab, as those are `SUPPRESS_WITH_DELETE` regulation types.

##### Remove a user from the suppression list {#remove-a-user-from-the-suppression-list}
##### Remove a user from the suppression list

To remove a user from the suppression list, click the ellipses (**...**) icon on the `userId` row, and click **Remove**.

This creates an `UNSUPPRESS` regulation and removes the `userId` from your suppression list. Segment processes most `UNSUPPRESS` regulations within 24 hours.

## Data retention

Segment stores a copy of all event data received in Segment's secure event archives on S3. By default, all workspaces store data for an unlimited period of time, but you can modify the lifecycle policies for the data stored internally. Segment uses this data for [data replays](/docs/guides/what-is-replay/) and for troubleshooting purposes.

Segment recommends keeping your data for at least 30 days to enable [replays](/docs/guides/what-is-replay/) of your data.

To change your data retention settings, open Segment and navigate to **Privacy > Settings > Data Retention**.

### Workspace Default Archive Retention Period

Select the default retention period for the workspace in this setting. This value applies to all sources in the workspace, unless overridden in the [Source-Level Archive Retention Periods](#source-level-archive-retention-periods) setting.

> warning "7 day Retention Periods will be deprecated on March 6, 2025"
> After March 6, you will no longer be able to set your workspace's retention period to 7 days. All workspaces with 7 day retention periods will be updated to have 14 day retention periods.

You can select from the following Archive Retention time periods:

- 14 days
- 30 days
- 90 days
- 180 days
- 365 days
- Unlimited (**default**)

### Source-Level Archive Retention Periods

> warning "Source-Level Archive Retention Periods will be deprecated on April 15, 2025"
> After April 15, you will no longer be able to override your workspace's default retention period on a source-by-source basis.

Override the workspace default retention period on a per-source level.

You can select from the following Archive Retention time periods:

- Default (This is the default value you set in the [Workspace Default Archive Retention Period](#workspace-default-archive-retention-period))
- 14 days
- 30 days
- 90 days
- 180 days
- 365 days
- Unlimited
This creates an `UNSUPPRESS` regulation and removes the `userId` from your suppression list. Segment processes most `UNSUPPRESS` regulations within 24 hours.
Loading