---
title: "Cancel Launch"
method: POST
path: "/v2/launches/{launch_id}/cancel"
tags: ["v2 - Launches"]
---

# Cancel Launch

`POST /v2/launches/{launch_id}/cancel`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/launches/{launch_id}/cancel`
- Auth: HTTP bearer

Cancel a pending or scheduled launch.

Only works for launches that haven't started yet.

Access: Must have PUBLISH_CANCEL permission on the launch's workspace.
Agents: Require ``publish:schedule`` scope.

## Path parameters

- `launch_id` string, required

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
