---
title: "DELETE /repos/{owner}/{identifier}/"
method: DELETE
path: "/repos/{owner}/{identifier}/"
tags: ["repos"]
---

# DELETE /repos/{owner}/{identifier}/

`DELETE /repos/{owner}/{identifier}/`

Delete a repository in a given namespace.

Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.

## Response `200`

The repository has been scheduled for deletion.

## Other responses

- `400` — Request could not be processed (see detail).
- `404` — Unable to find repository with that name in the provided namespace.
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/4d7879df9b2f/schema)
