Skip to main content

Deleting empty folders in Assets Server

Comments

1 comment

  • Sebastian Nafroth
    • Certified Solution Partner

    Hi everyone,

    For teams who'd rather not run API calls manually, we have this kind of cleanup ready as an n8n node. We can also build the same logic as an Enfocus Switch app for environments where Switch is already the automation backbone.

    Both approaches use the Assets REST API under the hood. Configurable per environment, with rules for which folder trees to clean, age thresholds, and whitelists for folders that should never be touched regardless of whether they're empty. Everything gets logged, and we can ship logs to Datadog or similar if you want central visibility across runs. Scheduled or on demand.

    Happy to share details if that's useful for anyone here.

    0

Please sign in to leave a comment.