Unbind Package Version CLI
Unbind a package version from an AppTrust application.
Description: Unbinds a specified package version from an application.
Command:
jf apptrust package-unbind <application-key> <package-type> <package-name> <package-version>Alias command: jf at pu
Command Options
The following table describes the available command options.
| Option | Required/Optional | Type | Description |
|---|---|---|---|
<application-key> | required | string | The application key. Must be 2-64 lowercase alphanumeric characters, beginning with a letter. Hyphens are supported. The key must be unique and immutable. |
<package-type> | required | string | The package type. For example, docker, maven, or generic. |
<package-name> | required | string | The package name. |
<package-version> | required | string | The package version. |
--access-token "<access-token>" | optional | string | The JFrog access token. |
--server-id "<id>" | optional | string | The server ID configured using the config command. |
--url "<url>" | optional | string | The JFrog Platform URL. |
--user "<user-name>" | optional | string | The JFrog user name. |
Example
The following example unbinds version 4.5.5 of Maven package my-maven from application pizza-shop.
jf apptrust package-unbind pizza-shop maven my.org:my-maven-package 4.5.5Frequently Asked Questions
Common questions about unbinding a package version from an application.
FAQs
Q: How do I unbind a package version from an application using the JFrog CLI?
A: Run jf apptrust package-unbind <application-key> <package-type> <package-name> <package-version> (alias jf at pu). See Command Options for the full list of arguments.
Q: What is the difference between binding and unbinding a package version?
A: Unbinding removes a package version's association with an application. Binding creates that association.
Q: Can I bind the package version to a different application after unbinding it?
A: Yes. Use the jf apptrust package-bind command to bind the package version to another application. See Bind Package Version CLI for details.
Related Topics
Updated 2 days ago
