Skip to main content
POST
Create a new API key

Authorizations

X-BRONTO-API-KEY
string
header
required

Body

application/json
name
string
required

The name of the API key to create

Required string length: 1 - 255
Example:

"Production API Key"

roles
object
required

A list of api key role ids

Example:

Response

API keys is created successfully

id
string<uuid>

The unique identifier for the API key

name
string

The name of the API key

Example:

"Production API Key"

created_at
integer<int64>

The timestamp when the API key was created

Example:

1710948395538

api_key
string

The first 8 characters of the API key. Note its not possible to retrieve the key after creation time.

Example:

"2ad85149"

roles
object

A list of api key role ids

Example:
tags
object

A map of key value pairs associated with this log

Example: