Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/cli / / runTokenRotate

Function: runTokenRotate()

ts
function runTokenRotate(options): Promise<TokenCreateResult>;

Defined in: packages/cli/src/commands/token.ts:204

Revoke an existing token and immediately mint a fresh one with the same scopes. Returns the new raw token bytes once.

Parameters

ParameterType
optionsTokenRotateOptions

Returns

Promise&lt;TokenCreateResult&gt;

Stable