deleteAction method

Future<void> deleteAction(
  1. String formId,
  2. String actionId
)

Deletes an action from a form.

Makes a DELETE /form/:formId/action/:actionId request.

formId is the unique ID of the form. actionId is the unique ID of the action to delete.

Throws DioError on failure.

Implementation

Future<void> deleteAction(String formId, String actionId) async {
  await client.dio.delete(ApiEndpoints.deleteAction(formId, actionId));
}