Deletes a field group from a table or feature class.
If your dataset is stored in an enterprise geodatabase, you must be connected as the data owner to run this tool.
Deleting a field group also deletes the associated contingent attribute values.
To modify field group properties without deleting the associated contingent attribute values, use the Alter Field Group tool.
DeleteFieldGroup_management (target_table, name)
The input geodatabase feature class or table that will have the field group deleted.
The name of the field group that will be deleted.
The updated input table with the field group deleted.
Delete a field group from a table.
import arcpy arcpy.DeleteFieldGroup_management("C:\\MyProject\\myConn.sde\\mygdb.USER1.myFC", "MyFieldGroup")
- Basic: Yes
- Standard: Yes
- Advanced: Yes