jf rt permission-target-update

Update a permission target in the JFrog Platform from a template file.

Synopsis

jf rt permission-target-update <template-path> [options]

Aliases: rt ptu

Arguments

ArgumentRequiredDescription
<template-path>YesLocal file system path to the template file. Create it with jf rt ptt

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
--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
--varsSemicolon-separated variables in the form "key1=value1;key2=value2". In the template, use ${key1} placeholder syntax

Examples

Update a Permission Target

jf rt permission-target-update --help

Update with Variable Substitution

jf rt permission-target-update ./template.json --vars "groupName=developers;repoName=libs-release"

Important Notes

  • The update replaces the entire permission target definition with the template contents. It is not a partial patch — ensure your template includes all fields, not just the ones you want to change.
  • Requires admin privileges on the Artifactory instance.
  • Use the same template format as jf rt ptc. Generate it with jf rt ptt.


What’s Next

To remove a permission target, see jf rt permission-target-delete.