jf rt users-delete
Delete users from Artifactory by username or from a CSV file.
Synopsis
jf rt users-delete <users-list> [options]
jf rt users-delete --csv <path> [options]
Aliases: rt udel
Arguments
| Argument | Required | Description |
|---|---|---|
<users-list> | If not using --csv | Comma-separated list of usernames: user1,user2,... |
Options
| Flag | Default | Description |
|---|---|---|
--access-token | — | JFrog access token |
--csv | — | Path to a CSV file. First row must be headers: username |
--password | — | JFrog password (for authentication) |
--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 users-delete --helpDelete Users by Name
jf rt users-delete alice,bob --quietDelete Users from a CSV File
jf rt users-delete --csv ./users-to-remove.csv --quietWarning: This action permanently removes users. You cannot undo it.
Important Notes
- Irreversible: Deleted users cannot be recovered. Their artifacts and builds remain, but their account and authentication credentials are permanently removed.
--quietdefault: In CI environments (whenCIis set),--quietdefaults totrue.- Requires admin privileges on the Artifactory instance.
- Deleting a user does not remove them from groups. Clean up group memberships separately if needed.
Updated about 1 month ago
