smctl unbind
Deletes a service binding with the name provided for a specified service instance.
smctl unbind [instance-name] [binding-name] [flags]
|
Optional |
Global Flag |
|
|---|---|---|
|
|
Help for |
No |
|
|
Force delete - without confirmation. |
No |
|
|
ID of the service binding. Required when the service binding name is ambiguous. |
No |
|
|
How calls to SAP Service Manager are performed. Possible values: sync or async (the default is async). |
No |
|
|
Output format of the command. Possible options: json, yaml, text |
No |
|
|
Set the path for the smctl |
Yes |
|
|
Use verbose mode. |
Yes |
async execution:
> smctl unbind sample-instance sample-binding
Do you really want to delete binding with name [sample-binding] for instance with name sample-instance (Y/n): yes
Service Binding sample-binding successfully scheduled for deletion. To see status of the operation use:
smctl status /v1/service_bindings/5937785d-6740-4f56-bdd9-8d24544bddac/operations/6066bd46-79d4-4f8e-be50-9ad2e5ca035a
Checking the status of the call:
> mctl status /v1/service_bindings/5937785d-6740-4f56-bdd9-8d24544bddac/operations/6066bd46-79d4-4f8e-be50-9ad2e5ca035a
| ID | 6066bd46-79d4-4f8e-be50-9ad2e5ca035a |
| Type | delete |
| State | succeeded |
sync execution:
> smctl unbind sample-instance sample-binding --mode sync
Do you really want to delete binding with name [sample-binding] for instance with name sample-instance (Y/n): yes
Service Binding successfully deleted.