diff --git a/pages/apis/rest_api/packages/registries.md b/pages/apis/rest_api/packages/registries.md index 74cf1eea83..cdfb0e3cfa 100644 --- a/pages/apis/rest_api/packages/registries.md +++ b/pages/apis/rest_api/packages/registries.md @@ -155,4 +155,15 @@ Optional [request body properties](/docs/api#request-body-properties): Required scope: `write_registries` -Success response: `200 OK` \ No newline at end of file +Success response: `200 OK` + +## Delete a registry + +```bash +curl -H "Authorization: Bearer $TOKEN" \ + -X DELETE "https://api.buildkite.com/v2/packages/organizations/#{org.slug}/registries/#{registry.slug}" +``` + +Required scope: `delete_registries` + +Success response: `200 OK`