---
title: "Delete/cancel a job"
method: DELETE
path: "/api/v2/jobs/{jobId}"
tags: ["v2 Jobs"]
---

# Delete/cancel a job

`DELETE /api/v2/jobs/{jobId}`

## Request

- Base URL: `https://pdf2md.dev`
- URL: `https://pdf2md.dev/api/v2/jobs/{jobId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `p2m_session`

## Path parameters

- `jobId` string, uuid, required

## Response `200`

Deleted/canceled

- V2Job
  - `job_id` string, uuid, required
  - `status` 'queued' | 'processing' | 'ready' | 'error' | 'canceled' | 'deleted', required: Job status
  - `file_name` string, required
  - `created_at` string, date-time, required
  - `status_since` string, date-time
  - `pages` integer, nullable
  - `truncated` boolean
  - `output_size` integer, nullable
  - `download_url` string, uri, nullable: populated for ready
  - `tier` 'anonymous' | 'free' | 'lifetime' | 'builder' | 'pro' | 'business' | 'enterprise', required: EP-069: `lifetime` is the one-time unlock, ranked BETWEEN free and builder — it raises the interactive limits and carries 600 pages/month, but grants no API keys, hosted MCP, webhooks or batch, so a subscription is genuinely more and its holder may still buy one.
  - `slot_usage` object
    - `used` integer
    - `limit` integer
  - `external_id` string, nullable
  - `tags` object, nullable

## Other responses

- `401`: Missing/invalid API key or session
- `404`: Not found or no access (ownership)

---

[API](https://skmtc.dev/pdf2md/apis/pdf-to-markdown-api-facade.md) · [All operations](https://skmtc.dev/pdf2md/apis/pdf-to-markdown-api-facade/llms.txt) · [OpenAPI document](https://skmtc.dev/pdf2md/apis/pdf-to-markdown-api-facade/revisions/4636782fb8b6?raw)
