How do you delete all your modules in your inventory via the API?

I want to purge my modules inventory because I have a lot of junk in here, but it’s annoying to go to every item page and click delete, so is there an API endpoint that I can use to help me with this, or do I have to do this the long way?

1 Like

BTRoblox Chrome extension allows you to select models to remove. Not sure if it’s what you’re looking for though.

Eh, I guess it’ll do for now

1 Like

You need csrf and cookie and you would have to do something like get all Model assets with inventory api and then filter by thumbnail

Url:
POST https://www.roblox.com/asset/delete-from-inventory

Headers:
X-CSRF-TOKEN: 123456ABCDEF
Cookie: .ROBLOSECURITY=123456ABCDEF

Body:
assetId=123456789