Skip to content

Conversation

@jochenehret
Copy link
Contributor

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

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