Jump to content

Remove Password with API


Recommended Posts

Posted
Hi guys

 

How to remove a user's password through the API, which method can I use?

 

When the user sets the password how can I remove the password or change without authenticating with the user?

 

ForgotPassword Does Not Work for Ordinary Administrator Only User

Happy2Play
Posted

I would just use the Dashboard.

 

Dashboard-Users-select the user, go to Passwords and hit save to remove current password, then enter a new one.  Or just enter new password and confirm password don't need to know the existing one.

Posted

 

How are you?

 

Thank you for the tips.

 

Do you know how I can remove the password using api?

Happy2Play
Posted

 

 
How are you?
 
Thank you for the tips.
 
Do you know how I can remove the password using api?

 

 

Looks like /Users/{Id}/Password

 

I just tested removing a users password without issue

Posted

I will test right now. Thank you so much friend

Posted
hi @@ebr

 

Thanks for moving the tip to the right place.

I did not know where to ask.

 

 

 


 

I had already set the password by this method on the user.

Now, I am trying to remove the same user password using the same method, but unfortunately it returns: 204. Undocumented

Happy2Play
Posted (edited)

 

hi @@ebr
 
Thanks for moving the tip to the right place.
I did not know where to ask.
 
 
 
 
I had already set the password by this method on the user.
Now, I am trying to remove the same user password using the same method, but unfortunately it returns: 204. Undocumented

 

But the password is removed correct?  Undocumented does not mean failed.

Edited by Happy2Play
  • Like 1
Posted

@@Happy2Play

 

How are you?
 
What API can I use to search Movies / Series by Genre?
 
I am developing my mobile app and I am customizing the home screen.
Posted (edited)

I think you have to do a query on all items, get the Dto object of each item. Check the genres (which would be a list of genres) and decide where to put them.

 

The same item can show up under different genres, perhaps build the genre page and then filter the query of library items by the genre that was selected, and return those results to build your card data.

Edited by chef
Posted

Currently the workflow seems to be that you would get the user to choose a media.type and then give the option to sort that type into genres.

 

This makes the query data more manageable for large collections.

 

Be careful when requesting all media types and sorting long lists into genres that your UI doesn't hang for a long time.

Posted

@@chef

 

Thank you friend, you will follow your tips.

  • Like 1

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...