Version: 2017.2

PrefabUtility.DisconnectPrefabInstance

Switch to Manual
public static void DisconnectPrefabInstance (Object targetObject);

Description

Disconnects the prefab instance from its parent prefab.