We have an API that does that but you have to first get the properties of the hosts using Hosts API (Configuration API) and then you need to pass the parameter as aPUT request to do that, here is an example of it,
1. API to access
take the payload after editing the property and use it in postman (PUT request).
This API can be found in Configuration API > OneAgent on a Host.