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
| Argument | Required | Description |
|---|---|---|
<permission-target-name> | Yes | Name of the permission target to remove |
Options
| Flag | Default | Description |
|---|---|---|
--access-token | — | JFrog access token |
--client-cert-key-path | — | Private key file for the client certificate in PEM format |
--client-cert-path | — | Client certificate file in PEM format |
--password | — | JFrog password |
--quiet | $CI | Set to true to skip the delete confirmation message |
--server-id | — | Server ID configured using the jf config command |
--ssh-key-path | — | SSH key file path |
--ssh-passphrase | — | SSH key passphrase |
--url | — | JFrog Artifactory URL (example: https://acme.jfrog.io/artifactory) |
--user | — | JFrog username |
Examples
Verify Command Help
jf rt permission-target-delete --helpDelete a Permission Target (Non-Interactive)
jf rt permission-target-delete <permission-target-name> --quietWarning: 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.
--quietdefault: In CI environments (when theCIenvironment variable is set),--quietdefaults totrue, skipping the confirmation prompt.- Requires admin privileges on the Artifactory instance.
- If the permission target does not exist, the command returns an error.
Updated about 1 month ago
