You can delete the forms and assets to remove these assets from the repository. Delete operation works on all asset types and folders.
If you delete an asset from the Author instance, the asset is also deleted from the Publish instance. AEM Forms server consists of Author and Publish instances. The Author instance is for creating and managing forms assets and resources. The Publish instance contains the published forms assets and related resources that are available for end users.
Before you delete an asset, AEM Forms checks for references and requests an explicit confirmation. Click Force Delete if you want to delete the asset irrespective of the relationship status.
Deleting an asset that is referred by other assets can cause functional issues.
If the selected asset is a folder and it contains such an asset in its hierarchy, delete other assets either individually or delete the entire folder.
In AEM Forms, an XFA form template can be referred by an adaptive form or another XFA form template. Also, a template can refer to a resource or another XFA template.
It is not advisable to delete an XFA form that is being referred by an adaptive form, as it can corrupt the adaptive form. When an adaptive form refers to an XFA form, their fields are bound. After XFA deletion, the adaptive form cannot synchronize its fields with the XFA fields and displays an error message for such fields. To know more about the impact of referenced XFA deletion and about dirty AFs, see Updating referenced XFA forms.
To delete such an XFA form, update the adaptive form and remove the bindings with the XFA fields.