---
title: "Delete repository label (beta)"
method: DELETE
path: "/orgs/{org_slug}/repos/labels/{label_id}"
tags: ["repo-labels"]
---

# Delete repository label (beta)

`DELETE /orgs/{org_slug}/repos/labels/{label_id}`

Delete a repository label and all of its associations (repositories, security policy, license policy, etc.).

This endpoint consumes 1 unit of your quota.

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

## Path parameters

- `org_slug` string, required
- `label_id` string, required

## 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)
