Set and delete downtime with REST API

Thanks.

I am aware of this script but it relies on Literal which is only available on python 3.8+. We are running RHEL7, the latest on it is still 3.6.8.