Delete a Field or Field Group

Fields and field groups can be deleted as long as they are not in use. When a custom field or field group is attached to a template, it is considered "in use". If a user tries to delete a field or field group that is in use, an error is returned along with a list of the templates to which the field/group is attached.

Note: The “In Use” validation occurs at the profile data level. Prior to Release 2.1, validation was at the Template level.

Important! See Modify a Field or Field Group for details on using ProfileModifyFieldReq to delete or force deletion of a custom field.

Delete a Custom Field or Group from a Template

The CustomFieldDelete and CustomFieldGroupDelete elements in ProfileModifyTemplateReq/TemplateModifyCmd can be used to delete custom fields and field groups that are not "in use" from templates.

For the deletion of any custom field/group:

Note: The deletion applies to both field and field group.