Completed delete API.