Delete all media
Function: Delete all media
This action allows you to completely clear out all media files (like images, videos, or documents) that have been uploaded and are associated with your current application. It's a powerful tool for tidying up or resetting your application's media library.
Input,
This action does not require any specific inputs from the user. It operates directly on all media linked to the application where it is executed.
Output,
This action does not produce any direct output values. Its primary effect is the permanent removal of all media files from your application's media library.
Execution Flow,
Real-Life Examples,
Example 1: Cleaning Up a Test Application
- Scenario: You've been testing various features in a development version of your application, uploading many placeholder images and files. Now you want to clear everything out before deploying a new set of features.
- Inputs: None
- Result: All media files previously uploaded to your test application are permanently deleted, leaving the media library empty and ready for new content.
Example 2: Resetting Media for a New Product Launch
- Scenario: Your e-commerce application previously showcased an old product line. You're launching a completely new line and want to remove all existing product images and videos to start fresh with the new product media.
- Inputs: None
- Result: Every image and video associated with the old product line is removed from your application, allowing you to upload new media without clutter.
Example 3: Deleting Unused or Obsolete Media
- Scenario: Over time, your marketing application has accumulated many old promotional banners, logos, and campaign images that are no longer relevant or in use. You want to perform a complete cleanup to free up storage and simplify media management.
- Inputs: None
- Result: All historical and currently unused media files are removed from your application, streamlining your media library and potentially reducing storage costs.