Api Keys endpoints
User endpoints
Export endpoints
Logs endpoints
Usage endpoints
Search endpoints
Api Keys endpoints
Create a new API key
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
Body
application/json
Response
201
application/json
API keys is created successfully
The response is of type object
.
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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.