I am trying to update my image service with the new incoming data as it arrives. I found the Update Raster operation under the REST API which takes in the existing service and the new service and replaces the old one with the new one. I think this could be my solution but i don't know how to implement it. I have the Item ID's from both service URL's. I am not using a mosaic dataset but a simple image service with a single raster. An example of a POST request would be really helpful relevant to the problem.
Link to "update Raster" docs: