Create or Replace User

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 user in Artifactory or replaces an existing user

Since: 2.4.0

Notes: Requires Artifactory Pro

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

Security: Requires an admin user

Usage: PUT /artifactory/api/security/users/{userName}

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

Sample Usage:

PUT /artifactory/api/security/users/davids
{
user.json
}