---
updatedAt: 2025-06-09T23:06:45.000Z
agentTools:
  projectIndex: https://developers.zenbooker.com/llms.txt
---

# Cancel a job

Cancels a job and removes it from the schedule.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "zenbooker-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zenbooker.com/v1/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/jobs/{id}/cancel": {
      "post": {
        "summary": "Cancel a job",
        "description": "Cancels a job and removes it from the schedule.",
        "operationId": "cancel-a-job",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the job to cancel",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```