axiomhq / axiom-py

Official Python bindings for the Axiom API
https://axiom.co
MIT License
27 stars 19 forks source link

Add "Create API Token" and "Delete API Token" calls #148

Open WRansohoff opened 1 month ago

WRansohoff commented 1 month ago

Hello,

A few weeks ago, we discussed submitting a pull request with the "create / delete API token" logic that we have been using to programmatically set up API keys using the axiom-py package. Sorry for the delay in submitting this - I was OOTO recently and just got around to it.

The logic should be fairly simple, and I did my best to structure the API parameters according to your documentation and existing conventions. But please let me know if you have any questions or concerns.

Thank you!