Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateWorkspaceApiKeyRequest

import type { CreateWorkspaceApiKeyRequest } from "https://aws-api.deno.dev/v0.4/services/grafana.ts?docs=full";
interface CreateWorkspaceApiKeyRequest {
keyName: string;
keyRole: string;
secondsToLive: number;
workspaceId: string;
}

§Properties

§
keyName: string
[src]

Specifies the name of the key. Keynames must be unique to the workspace.

§
keyRole: string
[src]

Specifies the permission level of the key.

Valid values: VIEWER|EDITOR|ADMIN

§
secondsToLive: number
[src]

Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.

§
workspaceId: string
[src]

The ID of the workspace to create an API key.