Skip to content

Archive User

Archive all queries and dashboards witohut given tags

clean

@app.command(no_args_is_help=True)
def clean(host_url: str = Argument(None,
                                   envvar="REDASH_HOST",
                                   help="Redash host"),
          api_key: str = Argument(None,
                                  envvar="REDASH_API_KEY",
                                  help="Redash api key")) -> None

[view_source]

Clean up all the customer dashboards on redash

Arguments:

  • host_url - Redash host
  • api_key - Redash api key

Returns:

None

Usage:

python archive_user.py host_url api_key