---
title: "Delete All Contracts"
method: DELETE
path: "/contracts/"
tags: ["CONTRACT"]
deprecated: true
---

# Delete All Contracts

`DELETE /contracts/`

> **Deprecated.**

Deletes all contracts for a tenant.

The tenant is deleted by deleting all files and directories in the contract registry that are associated with the
tenant. The tenant's data is also deleted from the database.

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

## Response `200`

Successful Response

- DeletionResponse
  - `message` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user

---

[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/103580dad816/schema)
