Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Body

application/json

CreateApiKeyInput

name
string
required
allowedEndpoints
string[] | null
deploymentIds
integer[] | null
ttlHours
integer | null
Required range: x >= 1

Response

200 - application/json
createdAt
required
id
integer
required
name
string
required
token
string
required
updatedAt
required
userId
integer
required
allowedEndpoints
string[] | null
deploymentIds
integer[] | null
expiresAt
lastUsedAt
suffix
string | null