Skip to content

Commit

Permalink
api docs for registry delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ensvo committed Sep 11, 2024
1 parent cb5e072 commit ecafb61
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pages/apis/rest_api/packages/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,15 @@ Optional [request body properties](/docs/api#request-body-properties):

Required scope: `write_registries`

Success response: `200 OK`
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`

0 comments on commit ecafb61

Please sign in to comment.