Skip to main content

DeleteFormDefinition soft-deletes a draft or archived form. Forms with any submissions cannot be deleted — archive them instead (the docs and submissions remain queryable).

DELETE 

/api/v1/crm/forms/:id

Errors:

  • NOT_FOUND: form does not exist (ErrFormNotFound).
  • FAILED_PRECONDITION: form has at least one submission and must be archived rather than deleted (ErrFormHasSubmissions).

Request

Responses

A successful response.