update

View as Markdown

Update a metric rule.

Accepted permissions Project → Risk metric rule definitions → Update

Token scope Rule 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
rule_idstringRequired

Request

This endpoint expects an object.
namestring or nullOptional
dimensionIdstring or nullOptionalformat: "uuid"
scoredouble or nullOptional
conditionslist of objects or nullOptional
enabledboolean or nullOptional