Allows a schedule to be deleted. Note that schedules which are used in Composite Schedules can not be deleted until they are removed from the Composite Schedule.
Permission Type: User Management
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.
String scheduleName - The name of the schedule to delete. Name is case-sensitive.
UIResponse - an An object with lists of warnings, errors, and info about the success or failure of the deletion