---
title: "Close jobs"
method: PUT
path: "/jobs/close"
tags: ["Jobs"]
---

# Close jobs

`PUT /jobs/close`

Bulk close jobs

## Request body

- object
  - `jobIds` integer[], required — Job ids to be closed

## Response `200`

A confirmation of successful closed jobs

- object
  - `successfulJobs` object[] — List of job objects that were successfully closed
    - `id` integer — The ID of the successfully closed job
  - `failedJobs` object[] — List of job objects that failed to close
    - `id` integer — The ID of the failed job

## Other responses

- `400` — BadRequest / Invalid Input
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/revisions/3f26defa2a42/schema)
