API /ec2/saveUser 403 Forbidden
AnsweredHello,
we are trying to install & configure a NX server without manual interaction and are investigating which API requests are needed.
We start with /api/setupLocalSystem: to set the admin password
Then, we want to create a specific API user to handle all of the next API requests, so we make a POST /ec2/saveUser with the admin owner account and the new password in the Authorization header.
This request always results in 403 Forbidden. What are we doing wrong here?
-
Hello,
Could you please share your code?
0 -
I'm trying the requests with Postman. This is how it looks:

The headers contains the Authorization header with Basic authentication, which is working fine, because without this I get a 401 error.
I am using the credentials of the admin owner user, which I have set during the /api/setupLocalSystem request.
0 -
After a complete start over, by doing a /api/detachFromSystem request, I now managed to create a user.
I honestly have no idea what's different, because I executed the same Postman requests, but it's working now and the user is created successfully.
0
Please sign in to leave a comment.
Comments
3 comments