Homepage

admin_form_delete

Last edit: Nov 10, 2026

Deletes (soft-deletes) a form found by physical_file_path (or the deprecated
id). Deprecated, use a page with a GraphQL mutation instead

admin_form_delete(
  id: ID
  physical_file_path: String
): Form

Arguments

id (ID)

Deprecated, use physical_file_path. Id of the form to delete

physical_file_path (String)

physical_file_path of the form to delete; takes precedence over id

Type

Form

Form (app/forms): defines which attributes of a resource can be submitted, how
they are validated and what happens after a successful submission. Deprecated,
use pages with GraphQL mutations instead

Questions?

We are always happy to help with any questions you may have.

contact us