---
title: "Delete repository"
method: DELETE
path: "/orgs/{org_slug}/repos/{repo_slug}"
tags: ["repos"]
---

# Delete repository

`DELETE /orgs/{org_slug}/repos/{repo_slug}`

Delete a single repository and all of its associated Full scans and Diff scans.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:
- repo:delete

## Path parameters

- `org_slug` string, required
- `repo_slug` string, required

## Query parameters

- `workspace` string

## Response `200`

Success

- object
  - `status` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

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