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

# Kill Process

> Force-terminate a process with `SIGKILL`.

Kill a running process with `SIGKILL`.

## Endpoint

```http theme={null}
DELETE /api/v1/processes/{pid}
```

## Example Request

```bash theme={null}
curl -X DELETE https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/processes/42 \
  -H "Authorization: Bearer $TENSORLAKE_API_KEY"
```

## Response

Tensorlake returns `204 No Content` when the process is terminated.

If you want a graceful shutdown first, use [Send Signal](/api-reference/v2/processes/signal) with `15` before falling back to `SIGKILL`.


## OpenAPI

````yaml delete /api/v1/processes/{pid}
openapi: 3.1.0
info:
  title: Tensorlake API
  description: >-
    Tensorlake Cloud APIs for Sandboxes, Document Ingestion, and Serverless
    Workflows
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.tensorlake.ai/
security:
  - bearerAuth: []
tags:
  - name: Tensorlake Cloud API
    description: >-
      Tensorlake Cloud APIs for Sandboxes, Document Ingestion, and Serverless
      Workflows
paths:
  /api/v1/processes/{pid}:
    servers:
      - url: https://{identifier}.sandbox.tensorlake.ai
        description: >-
          Example sandbox proxy host for a specific running sandbox. For
          programmatic access, use the sandbox's `ingress_endpoint`.
        variables:
          identifier:
            default: example-sandbox
            description: The sandbox ID or sandbox name.
    parameters:
      - name: pid
        in: path
        description: The operating system PID of the process.
        required: true
        schema:
          type: integer
          format: int32
    delete:
      tags:
        - sandbox-processes
      summary: Kill a process
      description: Force-terminate a process with `SIGKILL`.
      operationId: sandbox_process_kill
      responses:
        '204':
          description: Process terminated
        '404':
          description: Process not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxProxyError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxProxyError'
components:
  schemas:
    SandboxProxyError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        code:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````