Skip to main content
The authenticate command logs into a Diversion account using an API token or pre-existing OAuth refresh token, without opening a browser. Use it in scripts and CI environments where the interactive login flow is not possible.
<token> is either a Diversion API token that starts with dvk_ or an OAuth refresh token previously provided by an authenticated client. See Generate an API Token. [--enterprise <enterprise>] authenticates against a specific enterprise account. Most users can omit this. For interactive use, prefer dv login.