Skip to content

Conversation

llDrLove
Copy link
Contributor

Add the multi-registries DOKS documentation for the POST and DELETE api calls. For now, this is only exposed using the public api and not integrated into the go, python and ruby clients.

@llDrLove llDrLove changed the title CON-12531 Add multi-registries curl documentation CON-12531 Add DOKS multi-registries documentation Sep 17, 2025
@llDrLove llDrLove marked this pull request as ready for review September 17, 2025 16:04
Copy link
Collaborator

@DO-rrao DO-rrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
I have been able to add multiple registries successfully.
However, I am not able to hit the endpoint - Remove Container Registries from Kubernetes Clusters
Can you send a screenshot with a 200 response for this endpoint?
otherwise, LGTM!

@llDrLove
Copy link
Contributor Author

Hi @DO-rrao , here is a command I've ran that outputs the http code (204 success) with a successful deletion of the registries attached to a cluster.

> curl -X DELETE \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <redacted>" \
  -d '{"cluster_uuids": ["3f538b59-9d57-412b-a72c-267969144e1d"], "registries": ["another-registry-001", "olove-other-registry"]}' -w "%{http_code}\n" \
  "https://api.digitalocean.com/v2/kubernetes/registries"

Output: 204

As you can see, this is the production api url using the curl command example added in this PR which results in 204 response from the server.

@llDrLove llDrLove requested a review from DO-rrao September 25, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants