adding Delete Schedule API functionality