Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
workspaceId
string
required
scopes
object[]
required
enabled
boolean
required
customerId
string
required
prefix
string
expiresAt
integer
Required range: x > 0
externalMeterId
string
metadata
object

Response

The created key

apiKey
object
required