Some extra information on this, you need to have 2 services side by side; your original service and the service you want as a replacement. To differentiate between the two I generally give the new service a _Temp suffix.
The you use the following information in your http caller:
Http method is POST
Url = https://yourArcgisOnlineURL/sharing/rest/content/TheOwnerOfBothItems/replaceService
Replace all the bolded parts in the above URL with your own information
You use the POST request body to tell the ArcGIS Online Rest endpoint which service you want to have replaced.
The content type of the body has to be URL Encoded and needs the following key-value pairs:
toReplaceItemId = whatever the Id of the old Scene layer is
replacementItemId = the Id of the new Scene Layer
replacedServiceName = your old service is going to be renamed, so you get to choose what that name is going to be here
replaceMetadata = true/false (depends on whether you want to keep the item description of your old service or you new service )
createNewItem = true
f = json
token = your ArcGIS Online token
If done correctly, your new service will get the name of the old service as well as the item id. The old service gets a new name and a new item id.
Pro tip: try doing this in Postman before implementing it in FME, it makes troubleshooting a lot easier.