Jump to content

sample Emby API


nils12

Recommended Posts

Hi, 

 

lets say i want to disable the following for a user using api :

Allow remote connections to this Emby Server.

If unchecked, all remote connections will be blocked.

 

i believe the following is needed:
"EnableRemoteAccess": {"type": "boolean"},

 

 

what will a sample url look like:

e.g.

 

http://localhost:8096/something/api?EnableRemoteAccess=0&user=tbs&apikey=4324324242sdasdsadsadas

 

 

 

Link to comment
Share on other sites

No, you need to pull down the full UserPolicy object, make your changes, then post the whole thing back.

Link to comment
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...