update

View as Markdown

Update a metric definition.

Accepted permissions Project → Risk metric definitions → Update

Authentication

X-Api-Keystring

Project API token. Generate it in your BotBye account and send it in the X-Api-Key request header.

Path parameters

account_idstringRequired
project_idstringRequired
metric_idstringRequired

Request

This endpoint expects an object.
namestring or nullOptional
filterobject or nullOptional
timeWindowinteger or nullOptional
Time window in seconds.
enabledboolean or nullOptional