POST
/
projects
/
{projectIdOrName}
/
api-keys

Authorizations

X-Api-Key
string
headerrequired

Path Parameters

projectIdOrName
string
required

Body

application/json
label
string
required

A short name for the API key.

scopes
string[]

The scopes for the API key.

Response

201 - application/json
key
string
required

The API key.

label
string
required

A short name for the API key.

scopes
string[]
required

The scopes for the API key.

projectId
string
required

The project ID.

active
boolean

Whether the API key is active.