Juanrendon 4 Posted 14 hours ago Posted 14 hours ago Hi everyone, I have an Emby server where I created some users, and I initially gave all of them permission to download media. Now I would like to disable the Download permission for all users. At the moment, it seems that I have to go into each user individually and disable the download permission manually. Is there any way to: Select multiple users or all users and disable the Download permission in bulk? Use an Emby API, script, or another method to change this permission for all existing users at once? I would simply like to avoid having to edit each user individually. Any help or suggestions would be greatly appreciated. Thanks!
Luke 42816 Posted 2 hours ago Posted 2 hours ago Hi, there is no way to do this with multi select but bulk edit features are planned for future updates. Thanks.
Lessaj 537 Posted 53 minutes ago Posted 53 minutes ago (edited) I have not verified this and this is just high level approach but you can use the GET /Users/Prefixes endpoint to get a list of users and then you can loop over POST /Users/{Id}/Policy endpoint with a body of {EnableContentDownloading: false}. Again, high level, play with it to get the exact request body you need, test with a dummy user first. Edited 53 minutes ago by Lessaj
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now