How can I remove all graphics in my library | XM Community
Skip to main content
I have about 10k graphics in my library and they are uncategrorized. I wonder how to remove all of them quickly.
You can write an API script to do it: https://api.qualtrics.com/reference#delete-graphic



Unfortunately, there isn't an API to get all the graphic ids. You can go to Account Settings/Qualtrics IDs/Library and copy all the graphic ids then paste them somewhere (an array in your script, a spreadsheet that you then upload to a db, etc.).
I am NOT a wizard. Any way you could explain this in more detail? I click on your link and see the code, but I'm not sure what to do with it. I also don't know what the "200 OK" on the far right means. Just looking to delete all graphics from my library. Thanks
The link was just to the documentation for the Delete Graphic API. Unfortunately, I don't have good news for you. To automate the process of deleting all your graphics you have to do the following:

1. Copy the Qualtrics IDs for all the graphics you want to delete (Under Account Settings / Qualtrics IDs / Library)

2. Write a web based script that loops through all the IDs from step 1 and executes a Delete Graphics API call for each one.



To answer your other question... If you look at the json returned by a Delete Graphics API call, 200 OK means the call was successful (i.e., the graphic was deleted). Any other number means it failed.

That's ridiculous.


https://community.qualtrics.com/XMcommunity/discussion/comment/30248#Comment_30248I agree, it's absolutely ridiculous.


Leave a Reply