---
title: "Delete Contract From Registry By Id"
method: DELETE
path: "/registries/{registry_id}/contracts/{contract_id}"
tags: ["CONTRACT"]
deprecated: true
---

# Delete Contract From Registry By Id

`DELETE /registries/{registry_id}/contracts/{contract_id}`

> **Deprecated.**

Deletes a contract from the registry

The contract is deleted from the db and the registry.

:param db: The database session to use for deleting the tenant's data.
:param contract: The contract to delete.
:param auth: The authentication header.
:return: A dictionary containing the result of the operation.

## Path parameters

- `registry_id` integer, required
- `contract_id` integer, required

## Response `200`

Successful Response

- DeletionResponse
  - `message` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
