Closed bilyboy785 closed 5 months ago
HI, you need to first retrieve the full user object, update the value, and then send the whole thing back.
In the upcoming 4.8 release, some api's have been added that will accept partial json, so gradually over time you'll be able to do what you're doing more and more.
Thank's @LukePulverenti , I already tried this, but got this error :
# curl -X POST 'https://domain.com/Users/xxxxxxxxxx?api_key=xxxxxxxxxx' -H 'accept: application/json' -d @data.json
Form key length limit 2048 exceeded.
@LukePulverenti do you have any idea about this error ?
I found the solution by get /user full Json, filtering only the Policy array and sending this updated Policy array on the /user/ID/Policy POST api method ;)
Thanks for following up !
Hello,
i'm trying to update the .Policy.SimultaneousStreamLimit value of each users with API, but seem's to not be OK.
API returns :
I tried :
I tried the full json output too...
Someone can help me to do it ?