POST
/
api-keys
curl --request POST \
  --url https://api.eu.bronto.io/api-keys \
  --header 'Content-Type: application/json' \
  --header 'X-BRONTO-API-KEY: <api-key>' \
  --data '{
  "name": "Production API Key",
  "roles": [
    "IngestionApi"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Production API Key",
  "created_at": 1710948395538,
  "api_key": "2ad85149",
  "roles": [
    "SearchApi",
    "IngestionApi"
  ],
  "tags": {
    "region": "eu",
    "environment": "production"
  }
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Body

application/json

Response

201
application/json

API keys is created successfully

The response is of type object.