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

# Delete a contract link by link ID

`DELETE /contracts/{contract_id}/links/{link_id}`

Use this endpoint to delete a link between two contracts by link's ID.

## Path parameters

- `contract_id` integer, required
- `link_id` integer, required

## Headers

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

## Response `200`

The link between two contracts was deleted successfully.

## 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)
