def revoke(aid):
    """
    Revokes an api key for a user.
    :return:
    """
    click.echo("[-] Revoking the API Key api key.")
    api_key_service.revoke(aid=aid)
    click.echo("[+] Successfully revoked the api key")

    Revokes an api key for a user.
    :return:
    
lemur/api_keys/cli.py