Create Permission Target

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Creates a new permission target in Artifactory or replaces an existing permission target

Since: 6.6.0

Notes: Requires Artifactory Pro

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

- 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 security.api.plus.insteadof.space property is set to true. If you want to use the + (plus) symbol, set the security.api.plus.insteadof.space to false.

Security: Requires an admin user

Usage: POST /api/v2/security/permissions/{permissionTargetName} -H "Content-Type: application/json"

Consumes: application/vnd.org.jfrog.artifactory.security.PermissionTargetV2+json

Produces: 201 CREATED in case of success, with an empty response.

Sample Usage:

POST /api/v2/security/permissions/populateCaches -H "Content-Type: application/json"
{
permission-target.json
}

201 CREATED