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.

OptionRequired/OptionalTypeDescription
<application-key>requiredstringThe 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>requiredstringThe package type. For example, docker, maven, or generic.
<package-name>requiredstringThe package name.
<package-version>requiredstringThe package version.
--access-token "<access-token>"optionalstringThe JFrog access token.
--server-id "<id>"optionalstringThe server ID configured using the config command.
--url "<url>"optionalstringThe JFrog Platform URL.
--user "<user-name>"optionalstringThe 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.5

Frequently Asked Questions

Common questions about unbinding a package version from an application.

plusFAQs
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


Did this page help you?