delete API functionality added