WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@jochenehret
Copy link
Contributor

@jochenehret jochenehret commented Dec 9, 2025

Description of the Change

The "unbind-service" command shall be able to handle multiple bindings per (app, service instance). This PR first retrieves the list of all bindings for a given app and a given service instance name. Then it loops over the list and calls DELETE /v3/service_credential_bindings/:guid for each item. A new parameter "--guid" allows to delete only a specific binding

Why Is This PR Valuable?

Allows users to delete multiple service bindings with one CF CLI command.

Applicable Issues

https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0040-service-binding-rotation.md#cf-cli

How Urgent Is The Change?

Not super-urgent.

Other Relevant Parties

@jochenehret jochenehret force-pushed the main_unbind_service_cmd_multi_bindings branch from c8e3429 to 5a9b9a3 Compare December 12, 2025 13:03
@jochenehret jochenehret changed the title [DRAFT] Command "unbind-service" can handle multiple bindings [main] Command "unbind-service" can handle multiple bindings Dec 12, 2025
@jochenehret jochenehret force-pushed the main_unbind_service_cmd_multi_bindings branch from 5a9b9a3 to eda1b0b Compare December 12, 2025 13:31
@jochenehret jochenehret marked this pull request as ready for review December 15, 2025 07:16
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.

1 participant