Create or Replace Group

JFrog REST APIs

Content Type
REST API

Note

From Artifactory release 7.49.3, this API is being replaced by the new SECURITY APIs available in the JFrog Platform.

Description: Creates a new group in Artifactory or replaces an existing group

Since: 2.4.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 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

Usage: PUT /artifactory/api/security/groups/{groupName}

Consumes: application/json (application/vnd.org.jfrog.artifactory.security.Group+json)

Sample Usage:

PUT /artifactory/api/security/groups
{
group.json
}