Skip to content

Commit

Permalink
api docs for registry tokens delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ensvo committed Sep 11, 2024
1 parent ed25663 commit 9aabe72
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pages/apis/rest_api/packages/registry_tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,15 @@ Required [request body properties](/docs/api#request-body-properties):
Required scope: `write_registries`

Success response: `200 OK`


## Delete a registry token

```bash
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE "https://api.buildkite.com/v2/packages/organizations/#{org.slug}/registries/#{registry.slug}/tokens/#{id}"
```

Required scope: `write_registries`

Success response: `200 OK`

0 comments on commit 9aabe72

Please sign in to comment.