Bulk Deleting Stale Evaluation Forms via API

This is incredibly frustrating. I am migrating our quality management from PureConnect to Genesys Cloud. During the testing phase, I accidentally imported over a hundred test evaluation forms using a bad CSV file. Now my UI is cluttered with garbage forms. There is no way to select multiple forms and delete them in the Admin interface! I am looking at the Quality API (/api/v2/quality/publishedforms), but it only seems to allow fetching or updating forms one by one. How can I bulk delete these stale evaluation forms so I do not have to spend hours clicking “Delete” manually?

I assure you, we all make this mistake during our first big data load. You must use the /api/v2/quality/forms/evaluations/{formId} endpoint to delete them programmatically. Unfortunately, there is no single “Bulk Delete” endpoint. You will need to write a script that first queries for all forms, filters the JSON response to find your test forms (perhaps by checking a specific prefix you used in the title), extracts their IDs, and then loops through those IDs to send a DELETE request for each one.

Hello. I manage our Edge servers but I help with administrative scripts occasionally. To expand on 's point, please be very careful with your loop! If any of those test forms were accidentally used to score an interaction, the API will reject the DELETE request because the form is tied to historical data. You must either delete the associated evaluations first, or simply “Unpublish” the form instead of deleting it entirely. It is a strict relational database constraint to preserve your audit history.