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

# Shred a project

> Destroys the project's key, its snapshot records and its artifacts. Anything sealed under the key can never be read again. Admins only.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/project-keys/{project}
openapi: 3.1.0
info:
  title: envlink API
  version: 1.0.0
  description: >-
    Lease build environments, wire them to your sandbox, and keep snapshots and
    artifacts.
servers:
  - url: https://envlink-api.projectinwork.com
security:
  - bearerAuth: []
tags:
  - name: Environments
  - name: Templates
  - name: Sandboxes
  - name: Snapshots
  - name: Artifacts
  - name: Projects
  - name: Tokens
  - name: Usage
  - name: Account
paths:
  /v1/project-keys/{project}:
    delete:
      tags:
        - Projects
      summary: Shred a project
      description: >-
        Destroys the project's key, its snapshot records and its artifacts.
        Anything sealed under the key can never be read again. Admins only.
      parameters:
        - name: project
          in: path
          required: true
          schema:
            type: string
          description: The project's name; slashes are fine, like github.com/acme/app.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  project:
                    type: string
                  shredded:
                    type: boolean
                  at:
                    type: string
                    format: date-time
        '404':
          description: The project has no key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, for people.
        code:
          type: string
          description: >-
            A machine-readable code, when there is one: quota, no_template,
            not_found, …
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A CLI token or an organization API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.