Rotate and delete your API keys periodically and routinely, replacing existing API keys with new API keys.
To learn how to do this using the REST API directly or using the ArcGIS Python API or ArcGIS REST, go to: https://www.postman.com/esridevs/workspace/authentication-in-arcgis/collection/15786767-04f0cd88-1d89-42ce-af76-529987cd5a9a