Skip to main content
POST
Generate a project API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Body

application/json
name
string
required

Human label for the key

Required string length: 1 - 255
Example:

"prod-runtime"

scopes
enum<string>[]
Minimum array length: 1
Available options:
READ,
WRITE
permissions
string[]

Response

The created key (value returned once)

data
object
required