---
title: "Cancel a balance-paid restore that was never uploaded"
method: POST
path: "/cloud/jobs/{id}/cancel"
tags: ["Cloud Restore"]
---

# Cancel a balance-paid restore that was never uploaded

`POST /cloud/jobs/{id}/cancel`

## Request

- Base URL: `https://api.phoenixlabs.space`
- URL: `https://api.phoenixlabs.space/cloud/jobs/{id}/cancel`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

The job, cancelled, with the price back on the balance.

- object

## Other responses

- `400`: Bad input. `detail` says what to fix.
- `401`: Missing or unrecognised key.
- `402`: The balance, or the agent key's limit, doesn't cover the price. `needs_topup` or `over_limit` says which.

---

[API](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api.md) · [All operations](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/revisions/7648b94d8dd2?raw)
