---
title: "Delete a contract by ID"
method: DELETE
path: "/contracts/{contract_id}"
tags: ["Contract"]
---

# Delete a contract by ID

`DELETE /contracts/{contract_id}`

Use this endpoint to delete a specific contract by its ID.

## Path parameters

- `contract_id` integer, required

## Headers

- `x-oneflow-api-token` string, required
- `x-oneflow-user-email` string, email

## Response `200`

The contract was deleted successfully. This response is also returned if the contract does not exist.

## Other responses

- `400` — Invalid format or content of the request.
- `401` — The API token or the user email is invalid.
- `403` — The request is not authorized by the server.
- `404` — A required entity is missing.

---

[API](https://skmtc.net/oneflow/apis/public-api-for-oneflow.md) · [All operations](https://skmtc.net/oneflow/apis/public-api-for-oneflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneflow/public-api-for-oneflow/versions/0e73a45dec15/schema)
