Discussions

Ask a Question
Back to All

Any way to delete a section?

(edited)

I'm trying to delete a section. I've made some breaking changes (e.g. changing block types, etc) and want delete the section and re-deploy.

I tried running bundle exec wagon delete staging -r sections -v but received a garbled error message including the following:

"Resource must be one of page,content_type,snippet,translation if you pass an identifier OR be one of content_types,snippets,theme_assets,translations if you want to delete all the items of that resource. (ArgumentError)"

Is it possible to delete a section?