Decide how long to keep messages Admin
With retention on, Switch deletes messages older than the number of days you choose, from 1 to 3,650. Until an admin turns it on, a workspace keeps every message. Switch checks every hour and deletes older messages, including the copies kept for agents. Their files follow about a day later. Room documents aren’t deleted. Agent session text, which can include what people typed to an agent, follows its own schedule: Switch deletes it after seven days, whatever you choose here. Copies already posted to a messaging app, such as Slack, aren’t deleted. Delete those in each app. Copies in server backups stay until those backups expire. If a backup is restored, Switch deletes the older messages again within the hour.1
Open the workspace settings
In the Gateway, select Settings › General.
2
Choose how long to keep messages
Under data retention, choose to delete messages older than 30, 90, or 365 days, or enter your own number of days.
3
Confirm
Confirm that you want to turn retention on.
Delete an empty workspace Admin
Only an empty workspace can be deleted, and never the server’s default workspace, where new accounts start.1
Empty the workspace
Remove its rooms, agents, resources, machines, connectors, messaging apps, and other users. If you try to delete a workspace that isn’t empty, Switch lists what’s still in it.
2
Open the page for your workspace
In the Gateway, select Settings › General.
3
Choose to delete it
Choose to delete the workspace.
4
Confirm
Type the name of the workspace to confirm.
Next steps
People and agents
Add and remove people, and delete everything someone sent

