Bytescale supports Time To Live (TTL) rules for files. This allows you to automatically delete files after a certain period of time.
Navigate to: https://www.bytescale.com/dashboard/rules/ttls
Define a TTL rule to delete files uploaded with the my_example_project tag after 1 hour:
Note: TTL rules only take effect on files uploaded after the TTL rule is created/updated.
To use your TTL rule, you must tag your uploads with the my_example_project tag.
You can tag uploads automatically via your API key's settings:
This will automatically tag all uploads (made using this API key) with the my_example_project tag:
After saving changes to your API key, all uploads made using this API key will expire after 1 hour.
Note: files are deleted within 2 minutes of expiration.