Safely Uninstalling Data API
Running Uninstall Functions
Before deleting the pack files from your world folder, you should execute the pack's built-in uninstall routines. This removes active objectives, helper markers, and lingering game data cleanly. Open chat and run the following uninstall commands:
/function uninstall:data_api/function uninstall:developer_resources
Running both commands ensures that all system elements and developer resources tracked by the pack are completely cleared from your world data.
Removing the Pack Files
After running the commands, save and exit your world. Navigate to your world's datapacks folder inside your Minecraft saves directory. Locate the Data API data pack folder or zip file and remove it. Once you reload your world, the pack's functions and settings will be entirely gone, preventing command errors or abandoned scoreboard objectives from lingering in your save.