Description: Creates a new Access user.
Since: 7.49.3
Authorization: Requires admin authentication using Access Tokens
Usage: POST /access/api/v2/users
Content-Type: application/json
Produces: application/json
Request:
{ "username": "logenn", "password": "string", "email": "string", "groups": [ "string" ], "admin": false, "profile_updatable": true, "internal_password_disabled": false, "disable_ui_access": false }
Note
When ‘internal_password_disabled=true
`, the ‘password” field is not mandatory.
The parameter realm will be internal.
Response:
{ "username": "string", "email": "string", "groups": [ "string" ], "realm": "string", "status": "enabled", "admin": true, "profile_updatable": true, "internal_password_disabled": true, "disable_ui_access": true }
Note
From Artifactory release 7.66, the API response contains the effective_admin field to indicate if the user is an administrator, based on the user's associated groups.
Response Codes:
201: Successful
400: Invalid input, object invalid
401: Invalid credentials
403: Insufficient permissions
409: User already exists