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

# Manage Trash QR Codes

> Retrieve all QR Codes that have been deleted (moved to trash) from your Scanova account. Use this endpoint to view and manage QR codes that are no longer active but not yet permanently removed. Authentication required.

## Description

This endpoint returns a list of **QR codes that have been deleted by the user**, but are still stored in the **trash folder**.\
QR codes in the trash can be **restored** or **permanently deleted** via respective endpoints (coming soon).

## Request Parameters

This endpoint **does not require any query or body parameters**.

| Parameter | Type | Required | Description                                             |
| :-------- | :--- | :------- | :------------------------------------------------------ |
| *(none)*  | —    | —        | This request retrieves all trashed QR codes by default. |

## Example Response

### ✅ **200 OK**

Returns a list of QR Codes currently in the trash.

```
[
  {
    "id": 150659,
    "qrid": "Qff950d6694c34e96",
    "name": "Deleted QR Code",
    "deleted_at": "2023-09-12T10:46:17.919723+05:30"
  }
]
```


## OpenAPI

````yaml GET /qr/trash/
openapi: 3.1.0
info:
  title: Scanova Management API
  description: Management endpoints for tags, trash, and other administrative functions
  version: 1.0.0
servers:
  - url: https://management.scanova.io
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /qr/trash/:
    get:
      tags:
        - Management
      summary: Get Trash QR Codes
      description: Retrieves all QR codes in trash. Requires authentication.
      responses:
        '200':
          description: List of QR codes in trash
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TrashItem'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    TrashItem:
      type: object
      properties:
        id:
          type: integer
          description: QR Code ID
          example: 150659
        qrid:
          type: string
          description: Unique QR code identifier
          example: Qff950d6694c34e96
        name:
          type: string
          description: QR code name
          example: Deleted QR Code
        deleted_at:
          type: string
          format: date-time
          description: Deletion timestamp
          example: '2023-09-12T10:46:17.919723+05:30'
    AuthenticationErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Authentication error message
          example: Invalid token.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Enter your API key directly in the Authorization
        header.

````