Create organization API key

Creates an API key for the specified organization. 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.

Path Params
string
required

The Neon organization ID

Body Params
string
required
length ≤ 64

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

string

If set, the API key can access only this project

Responses

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