For AI agents: a Markdown version of this page is at https://docs.snowplow.io/tutorials/tracking-as-code/clean-up.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt.
Clean up the example tracking and API key
If you followed this tutorial with the example tracking rather than your own, remove the API key and the example data structures. If you're keeping the configuration for your own tracking, keep the API key and the workflows.
To remove the example:
- Delete the two workflow files from
.github/workflowsand the repository secretsSNOWPLOW_CONSOLE_ORG_ID,SNOWPLOW_CONSOLE_API_KEY_ID, andSNOWPLOW_CONSOLE_API_KEYin GitHub. - In Console, delete the API key from Settings > Manage organization > View and manage API keys. See Create an API key for the permission it needs.
- In Console, hide the data structures
signupandplan. Hiding removes them from the Console listing but not from the registry.
To learn more about the commands and options this tutorial used, see the Snowplow CLI tracking plans reference, the Snowtype command reference, and Keep Snowtype code up to date.