Skip to navigation

update

View as Markdown

Update a metric definition.

Accepted permissions Project → Risk metric definitions → Update

Token scope Metric Definitions Action

Authentication

X-Api-Keystring

Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header. A token works only for the account it was created in.

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