jf rt permission-target-delete

Permanently delete a permission target from the JFrog Platform.

Synopsis

jf rt permission-target-delete <permission-target-name> [options]

Aliases: rt ptdel

Arguments

ArgumentRequiredDescription
<permission-target-name>YesName of the permission target to remove

Options

FlagDefaultDescription
--access-tokenJFrog access token
--client-cert-key-pathPrivate key file for the client certificate in PEM format
--client-cert-pathClient certificate file in PEM format
--passwordJFrog password
--quiet$CISet to true to skip the delete confirmation message
--server-idServer ID configured using the jf config command
--ssh-key-pathSSH key file path
--ssh-passphraseSSH key passphrase
--urlJFrog Artifactory URL (example: https://acme.jfrog.io/artifactory)
--userJFrog username

Examples

Verify Command Help

jf rt permission-target-delete --help

Delete a Permission Target (Non-Interactive)

jf rt permission-target-delete <permission-target-name> --quiet

Warning: This action permanently removes the permission target. You cannot undo it.

Important Notes

  • Irreversible: Deleting a permission target immediately removes access control rules. Users and groups governed by this target lose their permissions instantly.
  • --quiet default: In CI environments (when the CI environment variable is set), --quiet defaults to true, skipping the confirmation prompt.
  • Requires admin privileges on the Artifactory instance.
  • If the permission target does not exist, the command returns an error.


What’s Next

To create a new permission target, start with the template command.