2024-06-05, 08:47 PM 
(This post was last modified: 2024-06-05, 08:55 PM by pcm. Edited 7 times in total.)
		
	
	
		It's documented here - https://api.jellyfin.org/#tag/User/opera...UserPolicy
You'd need to make a
In the request payload you'd need to provide the the list of 'folder-id's (aka library-id) of you'd want for enabled for that user.
Something like as your request payload would do
You'd get a 204 Response with no content if all goes well.
You can get a list of available folders/libraries and their names ids and other details using the
	  
	
	
You'd need to make a
POST request to /Users/a-user-id/Policy endpoint ...In the request payload you'd need to provide the the list of 'folder-id's (aka library-id) of you'd want for enabled for that user.
Something like as your request payload would do
Code:
{
    "AuthenticationProviderId": "blah",
    "PasswordResetProviderId": "blah",
    "EnabledFolders": [
        "my-folder-id1",
        "my-folder-id2"
    ]
}You'd get a 204 Response with no content if all goes well.
You can get a list of available folders/libraries and their names ids and other details using the
GET /Library/VirtualFolders request. API doc here - https://api.jellyfin.org/#tag/LibraryStr...ualFolders
	
