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

# Execute a previously reviewed cascading project deletion plan.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/projects/{project_id}/cascade-delete
openapi: 3.1.0
info:
  title: Vers API
  description: >-
    REST API for creating, checkpointing, branching, and managing Vers computers
    and projects.
  version: 2.0.0
servers:
  - url: https://api.vers.sh
    description: Vers API
security:
  - bearerAuth: []
tags:
  - name: Computers
    description: Create, inspect, execute commands in, sleep, wake, and delete computers.
  - name: Branches
    description: Branch one or more computers from a live computer, checkpoint, or tag.
  - name: Checkpoints
    description: Capture, inspect, tag, and delete whole-computer checkpoints.
  - name: Projects
    description: >-
      Organize computers into projects with private service networks and grouped
      restores.
  - name: Operations
    description: Inspect and stream status events for asynchronous durable operations.
  - name: Images
    description: >-
      Import and manage custom OCI images, system images, and registry
      artifacts.
  - name: Repositories
    description: Manage checkpoint repositories, tags, and public catalog entries.
  - name: Domains
    description: Register and manage custom domains.
  - name: Environment Variables
    description: Manage account-level environment variables applied to new computers.
  - name: Account & System
    description: Inspect API key identity, usage, and control-plane health.
paths:
  /api/v2/projects/{project_id}/cascade-delete:
    post:
      tags:
        - Projects
      summary: Execute a previously reviewed cascading project deletion plan.
      operationId: execute_project_deletion
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExecuteProjectDeletionRequest'
        required: true
      responses:
        '200':
          description: Deletion result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectDeletionResult'
        '403':
          description: Organization-wide key required
        '404':
          description: Project not found
        '409':
          description: Contents changed or deletion is blocked
components:
  schemas:
    ExecuteProjectDeletionRequest:
      type: object
      required:
        - plan_token
      properties:
        plan_token:
          type: string
          description: '`plan_token` from the reviewed deletion plan.'
      additionalProperties: false
    ProjectDeletionResult:
      type: object
      required:
        - deleted_project_ids
        - deleted_vm_ids
        - deleted_commit_ids
        - detached_commit_ids
      properties:
        deleted_commit_ids:
          type: array
          items:
            type: string
            format: uuid
        deleted_project_ids:
          type: array
          items:
            type: string
            format: uuid
        deleted_vm_ids:
          type: array
          items:
            type: string
            format: uuid
        detached_commit_ids:
          type: array
          items:
            type: string
            format: uuid
          description: Kept commits removed from the deleted projects.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Vers API key (`VERS_API_KEY`) sent as `Authorization: Bearer <key>`.'

````

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