---
title: "Delete Registry"
method: DELETE
path: "/registries/{registry_id}"
tags: ["REGISTRY"]
deprecated: true
---

# Delete Registry

`DELETE /registries/{registry_id}`

> **Deprecated.**

Deletes registry. If already deleted, returns 404
db: Session = Depends(get_db) is a dependency injection which returns the db session with the tenant
registry_id: registry to delete
registry: registry object fetched from db which needs to be deleted
auth=Depends(has_token) is a dependency injection which validates and returns the user_id

## Path parameters

- `registry_id` integer, required

## Response `200`

Successful Response

- RegistryDeletionResponse
  - `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)
