Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

Enter "Bearer {token}"

Body

application/json

API key details

name
string
required
tenant_id
string
required
costgraph_product
enum<string>
Available options:
costgraph-agent,
costgraph-operator
kind
enum<string>
Available options:
user,
install_token
permission_scopes
enum<string>[]
Available options:
agent:read,
agent:write,
operator:read,
operator:write,
focus:read,
focus:write,
pricing:read,
pricing:write
tags
object
ttl_hours
integer
Required range: 1 <= x <= 24

Response

Created

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object