Use the delete confirmation from management API.

Fixed #37.
@rdcronin for review.