RegionalApiCreateTokenRequest: {
    name: string;
    projectId?: string;
    region?: Region;
    tokenScopes?: TokenScope[];
}

Create a token.

Type declaration

  • name: string

    Name of the token.

  • OptionalprojectId?: string

    ID of the Project the token belongs to.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionaltokenScopes?: TokenScope[]

    Token permission scopes.