[Table of contents of user guide :material-arrow-right:](sd-services-toc.md)

# Deleting files and folders

You can delete main folders, subfolders or individual files from SD Connect.

## Deleting files

1. Find correct folder from All folders tab and click to view files.
2. Click **Delete** on right side of each file you want to delete.
3. If you need to delete multiple files select **Display options** from top right corner of file list and select **Display as file paths** from dropdown menu. Then select **Hide pagination** from the same menu. Now all files are displayed on one page. 
4. Select checkbox on top left corner of the file list. Now you can delete all files using toolbar appearing on top of file list.

![SD Connect Delete file](https://a3s.fi/docs-files/sensitive-data/SD_Connect/SDConnect_Deletefile.png)

![SD Connect Display options](https://a3s.fi/docs-files/sensitive-data/SD_Connect/SDConnect_DisplayOptions.png)

![SD Connect Delete files](https://a3s.fi/docs-files/sensitive-data/SD_Connect/SDConnect_Deletefiles.png)


## Deleting subfolder

Subfolder is deleted automatically when all files in it are deleted.

1. Find correct folder from All folders tab and click to view files.
2. Find correct subfolder and open it.
3. Follow steps from 2 to 4 in [Deleting files](#deleting-files)

## Deleting folder

You need first delete all files in the folder.

1. Find correct folder from All folders tab and click to view files.
2. Follow steps from 2 to 4 in [Deleting files](#deleting-files)
3. Return to All folders view. Select **Options**, then **Delete**, on right side of the folder.

![SD Connect Delete folder](https://a3s.fi/docs-files/sensitive-data/SD_Connect/SDConnect_Deletefolder.png)


## Your next steps in this guide 

* [Delete](./sd-connect-delete.md)
* [Share](./sd-connect-share.md)
* [Command line interface](./sd-connect-command-line-interface.md)
* [Troubleshooting](./sd-connect-troubleshooting.md)
