cancel
Showing results for 
Search instead for 
Did you mean: 

How to run UnbindCfServiceInstance command in Automation Pilot?

MioYasutake
Active Contributor
0 Kudos
99

Hi community,

I am trying to run the 'UnbindCfServiceInstance' command in Automation Pilot but at a loss on how to provide the input key "app".

First, I specified the human-readable name (cap-attachment-srv), but the execution failed with the message: "application 'cap-attachment-srv' was not found in organization 'dc0c4da5-10ed-4585-9043-89cbf1b37370' and space '135829ff-d296-476a-aad6-81a39f89ec06'."

MioYasutake_0-1720387320575.png

Then I obtained a GUID for the application by following this KBA. As a result, the execution was successful, but the app is still bound to the service instance.

MioYasutake_1-1720387496941.png

MioYasutake_2-1720387522494.png

Could someone clarify how I can run this command correctly?

 

 

 

View Entire Topic
MioYasutake
Active Contributor
0 Kudos

I've identified two reasons why the command is not working.

  1. Method to obtain the app GUID

    You can obtain the application GUID with `cf app <appName> --guid`.
  2. Using the US East region of the trial account

    The Cloud Foundry API endpoint is us10-001 instead of us10. The command seems to be designed to work with the us10 API, which is why it cannot retrieve the target service instance. When I tried it in the ap21 region, it was successfully unbound.