Skip to content

user creation #231

@nauni77

Description

@nauni77

Hello,
I want to use the Artifactory API to manage users, groups, repositories and permissions. With the older instance 7.77.7 this works as expected:

    test_user = NewUser(name="tester123", email="tester123@my-domain.de", password=SecretStr("tester!123"))
    response: UserResponse = test_client.users.create(test_user)
    logger.info(f"create user response: {response}")

Result:

2026-03-16 12:04:26.961 | INFO     | tests.artifactory.test_user_management:test_00_manual_check:72 - create user response: name='tester123' admin=False profileUpdatable=True disableUIAccess=False internalPasswordDisabled=False groups=['readers'] email='tester123@my-domain.de' lastLoggedIn=None realm='internal' offlineMode=False

But if I switch to the new Artifactory (7.133.10) the creation of a user fails with an error:

requests.exceptions.HTTPError: 400 Client Error

I searched the Artifactory API for the corresponding API request to check if something changed. But I can't find a possible request to solve this - only a possibility to retrieve the details of a user:

https://docs.jfrog.com/artifactory/reference/getuserdetails

Can you help? Is the update/creation removed from the Artifactory API?

Best regards, Oli

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions