Delete a pin API