"Aufheben der Bindung" entfernt den Zugriff einer Anwendung auf eine Dienstinstanz.
Dadurch werden die Anmeldedaten aus dem Service Broker gelöscht, der die Instanz erstellt hat, und die VCAP_SERVICES-Umgebungsvariable für die Anwendung aktualisiert, um die Referenz auf die Instanz zu entfernen.
Beispiele
kf unbind-service myapp my-instance
Flags
--async
Nicht warten, bis die Aktion auf dem Server abgeschlossen ist, bevor zurückgekehrt wird.
-h, --help
Hilfe für unbind-service
Übernommene Flags
Diese Flags werden von übergeordneten Befehlen übernommen.
--as=string
Nutzername, dessen Identität für den Vorgang übernommen wird.
--as-group=strings
Gruppe, deren Identität für den Vorgang übernommen wird. Verwenden Sie dieses Flag mehrfach, um mehrere Gruppen anzugeben.
--config=string
Pfad zur Kf-Konfigurationsdatei, die für Befehlszeile-Anfragen verwendet werden soll.
--kubeconfig=string
Pfad zur Datei „kubeconfig“ zur Verwendung für CLI-Anfragen.
--log-http
HTTP-Anfragen im Standardfehler loggen.
--space=string
Bereich zum Ausführen des Befehls. Dieses Flag überschreibt den aktuellen Ziel-Space.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# kf unbind-service\n\n### Name\n\n`kf unbind-service` - Revoke an App's access to a service instance.\n\n### Synopsis\n\n```\nkf unbind-service APP_NAME SERVICE_INSTANCE [flags]\n```\n\n### Description\n\nUnbind removes an App's access to a service instance.\n\nThis will delete the credential from the service broker that created the\ninstance and update the VCAP_SERVICES environment variable for the\nApp to remove the reference to the instance.\n\n### Examples\n\n```\nkf unbind-service myapp my-instance\n```\n\n### Flags\n\n`--async`\n\n: Do not wait for the action to complete on the server before returning.\n\n`-h, --help`\n\n: help for unbind-service\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]