Set and delete downtime with REST API

did you find a way to schedule a service downtime using web API?

host downtime works fine but i just cannot find a way to do service. not sure which view it will be