delete rest API