---
title: "Cancel formation"
method: DELETE
path: "/formations/{id}"
tags: ["Formations"]
---

# Cancel formation

`DELETE /formations/{id}`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/formations/{id}`
- Auth: API key in header `Authorization`

Cancels a formation that has not been paid for and was never sent to doola, and removes it from the account. Any open Stripe checkout session for it is expired first. Paid or submitted formations return 422 `not_cancellable`.

## Path parameters

- `id` string, required

## Response `200`

Formation cancelled

- DeleteResponse
  - `id` string, required
  - `object` string, required
  - `deleted` true, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-10-28** `09946d90a744`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/formations/:id/delete.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
