Create or Replace Permission Target

Creates a new permission target in the JFrog Unified Platform or replaces an existing permission target

Since: 2.4.0

Notes: Requires Artifactory Pro.

  • Missing values will be set to the default values as defined by the consumed type.

  • Please note when adding Release Bundles permission targets

  • Requires an Edge/Enterprise+ license

On Edge nodes, the repositories section in the request body can be left empty or contain the ‘release-bundles’ default repository. No other repositories are allowed. An Enterprise+ license allows you to add any repository

The default repository in the repository section is “release-bundles” for both Edge/EntPlus licenses. (if user create permission target with empty repositories section the repository that we put is “release bundles”)

  • To support spaces in the User or Group or Permission names, a Plus symbol (+) is automatically placed when there is a space. This is set by default as the artifactory.

security.api.plus.insteadof.space property is set to true. If you want to use the + (plus) symbol, set the artifactory.security.api.plus.insteadof.space to false.

Security: Requires an admin user

Path Params
string
required

The name of the permission target

Body Params
string

The name of the permission target

string

A regex pattern that defines which repositories to include in this permission. The default is "**" (all).

string

A regex pattern that defines which repositories to explicitly exclude from this permission. The default is "" (none).

repositories
array of strings
required

Defines the local and remote repositories included as resources for this permission. Note - Virtual repositories are not supported.

repositories*
principals
object
Responses

Language
Credentials
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json