POST
/
metrics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Maximum length: 255
suffix
string
required
Maximum length: 255
calc_type
enum<integer> | null
Available options:
0,
1
default_value
number | null
description
string | null
display_chart
boolean | null
places
integer | null
threshold
integer | null
Required range: 0 < x < 60

Response

200 - application/json
data
object
required