Create API key

Creates an API key.
The key_name is a user-specified name for the key.
Returns an id and key; the key is a randomly generated, 64-bit token required to access the Neon API.
Store the key securely — it is only returned once.
API keys can also be managed in the Neon Console.
See Manage API keys.

Body Params
string
required
length ≤ 64

A user-specified API key name. This value is required when creating an API key.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json