Skip to content

NeonApiKeyCreated

Defined in: api-keys/api-keys.ts:4

What Neon returns when it makes a personal API key: the value comes back only in this response.

optional created_at?: string

Defined in: api-keys/api-keys.ts:12

When the key was made (ISO 8601).


optional id?: number

Defined in: api-keys/api-keys.ts:6

Neon’s numeric id for the key (not the value).


optional key?: string

Defined in: api-keys/api-keys.ts:8

The key’s value. Shown once, so the caller must keep it and never print it.


optional name?: string

Defined in: api-keys/api-keys.ts:10

The name the key was made with.