v50

latestOpenAPI 3.0.0Commercialraw.githubusercontent.com2022-08-0911645127.8 KB
Account

Create a new key

put/account/keys

Request body

commentstring
organization_idstring uuid

Example request

{
  "comment": "Splunk integration key",
  "organization_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8"
}

Response

key details

idstring uuid required
client_idstring uuid
organization_idstring uuid
created_atinteger
created_bystring email
commentstring
last_used_atinteger
last_used_ipstring
last_used_uastring
counterinteger
usage_todayinteger
usage_limitinteger
tokenstring
inactiveboolean
typestring

Example response

{
  "id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "client_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "organization_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "created_at": 1576300370,
  "created_by": "user@example.com",
  "comment": "API key used for Splunk integration",
  "last_used_ip": "127.0.0.1",
  "last_used_ua": "curl/7.44.1",
  "counter": 1,
  "usage_today": 100,
  "usage_limit": 10000,
  "token": "CTXXXXXXXXXXXXX",
  "type": "org"
}