Maarten 2 Posted August 24, 2023 Share Posted August 24, 2023 Why can I not disable live tv in a profile? Quote @echo off setlocal set API_ENDPOINT=http://127.0.0.1:8196/emby/Users/915970d0e473473f8d957e0258593c6f/Policy?api_key=xxxxxxxxxxxx set JSON_PAYLOAD={"EnableLiveTvAccess": false, "EnableLiveTvManagement": false} powershell -command "(Invoke-RestMethod -Uri '%API_ENDPOINT%' -Method Post -ContentType 'application/json' -Body '%JSON_PAYLOAD%').Content" pause When I use this it just enables both Link to comment Share on other sites More sharing options...
Solution Luke 37118 Posted August 24, 2023 Solution Share Posted August 24, 2023 HI, sending back partial payloads is not supported at this time. you need to pull down the full object, edit the properties you need to change, and then send the full object back. Link to comment Share on other sites More sharing options...
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