Add support for an api call to reset an api_key.

- Starts to fix #373