---
title: "Discard"
method: POST
path: "/api/v3/internal/jobs/{job_id}/discard"
tags: ["Internal"]
---

# Discard

`POST /api/v3/internal/jobs/{job_id}/discard`

## Request

- Base URL: `https://api.genji.pk`
- URL: `https://api.genji.pk/api/v3/internal/jobs/{job_id}/discard`
- Auth: none declared

## Path parameters

- `job_id` string, uuid, required

## Request body

- DiscardRequest
  - `operator_id` integer, required
  - `expected_generation` integer, required
  - `request_id` string, required
  - `reason` string, required

## Response `200`

Request fulfilled, document follows

- object

## Other responses

- `400`: Bad request syntax or unsupported method

## Changes

- **2026-10-03** `f814c229a9e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/genji/apis/genji-shimada-api/changes/api/v3/internal/jobs/:job_id/discard/post.md)

---

[API](https://skmtc.dev/genji/apis/genji-shimada-api.md) - [All operations](https://skmtc.dev/genji/apis/genji-shimada-api/llms.txt) - [OpenAPI document](https://skmtc.dev/genji/apis/genji-shimada-api/revisions/f52357a382e1?raw)
