API Key
Create a new API key
POST
/
projects
/
{projectIdOrName}
/
api-keys
Authorizations
X-Api-Key
string
headerrequiredPath Parameters
projectIdOrName
string
requiredBody
application/json
label
string
requiredA short name for the API key.
scopes
string[]
The scopes for the API key.
Response
201 - application/json
key
string
requiredThe API key.
label
string
requiredA short name for the API key.
scopes
string[]
requiredThe scopes for the API key.
projectId
string
requiredThe project ID.
active
boolean
Whether the API key is active.
Was this page helpful?