> ## Documentation Index
> Fetch the complete documentation index at: https://docs.repdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Soft delete a project

> # Description

Soft delete a SightX project. This will move it to the recycle bin.

# Response

## 200 OK 

```json
{
    "folderId": "string",
    "projectId": "string",
    "userId": "string"
}
```
where:

- `folderId`: Id of the folder Recycle Bin folder, which is `f00000000000000000000002`.
- `projectId`: Id of the deleted project.
- `userId`: Id of the user deleting the project.

## 401 Unauthorized

> The user doesn't have permissions.

## 500 Internal Server Error

> Error occurred while processing the request.

# Description

Soft delete a SightX project. This will move it to the recycle bin.

# Response

## 200 OK

```json theme={null}
{
    "folderId": "string",
    "projectId": "string",
    "userId": "string"
}
```

where:

* `folderId`: Id of the folder Recycle Bin folder, which is `f00000000000000000000002`.
* `projectId`: Id of the deleted project.
* `userId`: Id of the user deleting the project.

## 401 Unauthorized

> The user doesn't have permissions.

## 500 Internal Server Error

> Error occurred while processing the request.


## OpenAPI

````yaml DELETE /projects-api/v2/projects/{folderId}/soft
openapi: 3.0.3
info:
  title: SightX API
  version: 1.0.0
  description: >-
    SightX REST API documentation. Most responses are JSON; some export
    endpoints return files. API access is a paid add-on — contact
    sales@sightx.io for details.
servers:
  - url: https://auth.admin.sightx.io
    description: Authentication (Production)
  - url: https://auth.staging-admin.sightx.io
    description: Authentication (Staging)
security:
  - AuthorizationHeader: []
paths:
  /projects-api/v2/projects/{folderId}/soft:
    delete:
      summary: Soft delete a project
      description: >-
        # Description


        Soft delete a SightX project. This will move it to the recycle bin.


        # Response


        ## 200 OK 


        ```json

        {
            "folderId": "string",
            "projectId": "string",
            "userId": "string"
        }

        ```

        where:


        - `folderId`: Id of the folder Recycle Bin folder, which is
        `f00000000000000000000002`.

        - `projectId`: Id of the deleted project.

        - `userId`: Id of the user deleting the project.


        ## 401 Unauthorized


        > The user doesn't have permissions.


        ## 500 Internal Server Error


        > Error occurred while processing the request.
      operationId: soft-delete-a-project-delete-projects-api-v2-projects-folderid-soft
      parameters:
        - name: Authorization
          in: header
          required: true
          description: Authorization token.
          schema:
            type: string
      responses:
        '200':
          description: Soft delete a project
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                id: 6143da47ec80380d3543de6c
                projectId: 6143da47ec80380d3543de6b
                folderId: f00000000000000000000002
                userId: 5e1155a9091833000f274bbd
                accessType: owner
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      servers:
        - url: https://sx-projects.sightx.io
components:
  securitySchemes:
    AuthorizationHeader:
      type: apiKey
      in: header
      name: Authorization
      description: Access token obtained from the m2m-token endpoint.

````