Time controlled share

I would like to start and stop a share time controlled. is this possible via the REST API or is there a better way?