Skip to content

Commit

Permalink
Merge remote-tracking branch 'docs-public/main' into ev-packages-api-…
Browse files Browse the repository at this point in the history
…registry-tokens-index
  • Loading branch information
gilesgas committed Sep 12, 2024
2 parents e5f44f4 + 8afaac9 commit e9fbcfa
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 @@ -72,7 +72,7 @@ curl -H "Authorization: Bearer $TOKEN" \
"web_url": "https://buildkite.com/organizations/my-org/packages/registries/my-registry",
"name": "my registry",
"ecosystem": "ruby",
"description": null,
"description": "registry containing ruby gems",
"emoji": null,
"color": null,
"public": false,
Expand Down Expand Up @@ -156,3 +156,14 @@ Optional [request body properties](/docs/api#request-body-properties):
Required scope: `write_registries`

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 e9fbcfa

Please sign in to comment.