adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

Allow user to revoke personal API token #203

Open thostetler opened 1 year ago

thostetler commented 1 year ago

https://github.com/adsabs/adsws/blob/4ba4b613e1f66cf0b381ebb39727e61428ea3503/adsws/accounts/views.py#L312

Currently we allow generating and retrieving the token. But right now, once generated, there is always token there that can't be revoked, only re-generated. In the case a user generated one by accident, not intending to access the API, they may like to undo it.