Jump to content
Alan1234

Create Password through api

Recommended Posts

Alan1234

Hi, i'm new on this platform. I have tried to create the password for a user using the api, but with bad result. 

 

I have used swagger, but when i try out the update password, and the update easy password i received the Error "204". Can anyone help me? Also I have found only update password, but if I need to create it how can I do? Thanks

Share this post


Link to post
Share on other sites
Luke

Hi there, why do you think 204 is an error?

Share this post


Link to post
Share on other sites
Alan1234

Because the password didn't changed. Anyway I have resolved with switch to false "Reset password". But this work only from swagger, if I try it from a generate api key don't work, it return: "Object reference not set to an instance of an object".

So i decided to use the api that swagger use, and work ! :)

Share this post


Link to post
Share on other sites
Alan1234

Update: The swagger api change, so i can't setting it for a long time. If i set the normal api key that I generate in my panel, I receive the error "500: Internal Error", like it doesn't have some permission. Any idea how can I fix it? Or is a bug? Thanks

Share this post


Link to post
Share on other sites
Luke

Update: The swagger api change, so i can't setting it for a long time. If i set the normal api key that I generate in my panel, I receive the error "500: Internal Error", like it doesn't have some permission. Any idea how can I fix it? Or is a bug? Thanks

Hi, what is the error in the server log?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...