Version: 2017.1

PrefabUtility.DisconnectPrefabInstance

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

Description

Disconnects the prefab instance from its parent prefab.