v1
latestOpenAPI 3.1.02026-07-26189891.1 MBKeys
Create a new key
Create a new key of the type specified by the type parameter. If a name is not supplied, one will be auto generated.
post/v1/config/keys
Query parameters
type'ingestion' | 'service' | 'all' required
The type of key to be created
Request body
Example request
{
"name": "servergroup_0_ingestion"
}Response
A new key was created successfully! The entire key resource is returned.
Example response
{
"id": "629e3f7e62295be60488fb26",
"key": "7b273eb8adc962f2711ad760730debb0",
"name": "servergroup_0_ingestion",
"type": "ingestion",
"created": 1654538253244
}