# Trash upload

| **Description** | Deletes or recovers a point cloud upload.                                 |
| --------------- | ------------------------------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/pointCloud/timestamp/{timestampId}/file/{fileId}/trashed` |
| **Method**      | PUT                                                                       |

## Access Level Rules

| **Minimum Access Level** | edit+ |
| ------------------------ | ----- |

## Processing Units

| **Minimum processing units** | 1 |
| ---------------------------- | - |

## Parameters

| Name          | Description                                              | Required | Default       |
| ------------- | -------------------------------------------------------- | -------- | ------------- |
| `pathId`      | The id of the point cloud layer                          | true     |               |
| `timestampId` | The id of the timestamp that the upload belongs to.      | true     |               |
| `fileId`      | The id of the upload to delete.                          | true     |               |
| `trashed`     | Boolean whether the file should be trashed or recovered. | false    | Default true. |
