ProcFormTrash

ProcFormTrash(
   int FormID,
   string AlternateID,
   bool WebhookEvaluate
)

Trash a form.

Request

Request Data:

  • (int) FormID (required) – The ID of the form you want to trash
  • (int) AlternateID (optional) – The AlternateID of the form you want to activate (since RPM 27)
  • (bool) WebhookEvaluate (optional, default: false) – whether RPM should issue webhook requests (since RPM 11)

Note: FormID and AlternateID are optional but at least one has to be provided. If both are provided FormID will be used.

{
   "FormID": <int>,
   "AlternateID": <string>,
   "WebhookEvaluate": <bool>
}

Response

{
   "Success": <bool>
}

Errors

  • Permission denied.
  • Form not found.