---
title: "Issue a job command."
method: POST
path: "/api/job"
---

# Issue a job command.

`POST /api/job`

## Request body

- object
  - `command` 'start' | 'restart' | 'pause' | 'cancel'
  - `action` 'pause' | 'resume'

## Response `204`

No error

## Other responses

- `403` — Unauthorized
- `409` — Conflict
- `501` — Not Implemented

## Changes

- **2021-09-23** `7ad880a6c0c4` — 18 info
  - the response property `text` became required for the status `403`
  - the response property `text` became required for the status `409`
  - the response property `text` became required for the status `501`
  - the response property `title` became required for the status `403`
  - …14 more
- **2021-02-22** `30eda14983ed` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/job/post.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/ebdce30f1db8/schema)
