Cannot set location thru API

Hello,

I am updating devices thru API.
I can update fields like notes and etc.
But when i try to update syslocation/location , it does not update it.
is it possible to update this field?

Regards,