---
title: "Reject a job"
method: POST
path: "/jobs/{job_id}/reject"
tags: ["Jobs"]
---

# Reject a job

`POST /jobs/{job_id}/reject`

## Request

- Base URL: `https://api.togai.com`
- URL: `https://api.togai.com/jobs/{job_id}/reject`
- Auth: HTTP bearer

Reject a job

## Path parameters

- `job_id` string, required

## Response `200`

Response for get job status request

- GetJobResponse
  - `id` string, required
  - `type` 'PRICE_PLAN' | 'EVENT_CORRECTIONS' | 'BILL_RUN', required
  - `settledAt` string, date-time
  - `updatedAt` string, date-time, required
  - `status` 'SCHEDULED' | 'PENDING' | 'INITIALIZED' | 'WAITING_FOR_CONFIRMATION' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED', required
  - `totalJobEntries` integer, required
  - `pendingJobEntries` integer, required
  - `failedJobEntries` integer, required
  - `completedJobEntries` integer, required
  - `metadata` object

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response
- `429`: Error response
- `default`: Error response

## Changes

- **2024-03-18** `3135bb8c67b3`: 1 info
  - endpoint added
- **2023-09-02** `6b13f6f47735`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/togaihq/apis/togai-apis/changes/jobs/:job_id/reject/post.md)

---

[API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [All operations](https://skmtc.dev/togaihq/apis/togai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/togaihq/apis/togai-apis/revisions/442f5d8f4aa0?raw)
