---
title: "Delete a private registry for an organization"
method: DELETE
path: "/orgs/{org}/private-registries/{secret_name}"
tags: ["private-registries"]
---

# Delete a private registry for an organization

`DELETE /orgs/{org}/private-registries/{secret_name}`

Delete a private registry configuration at the organization-level.

OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

## Path parameters

- `org` string, required
- `secret_name` string, required

## Response `204`

Response

## Other responses

- `400` — Bad Request
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
