update threshold
PUT /api/v1/{account_id}/projects/{project_id}/dimension-thresholds/{dimension_id}
Updates block/challenge score thresholds for a single dimension, identified by dimension_id.
Request
base_url(string): The base URL of the API.account_id(string): The unique identifier of the account.project_id(string): The unique identifier of the project.dimension_id(string): The unique identifier of the dimension to update.
Request Body
name(string): The dimension name.blockThreshold(number): Score threshold for block decision.challengeThreshold(number): Score threshold for challenge decision.
Response
The response for this request is a JSON object with the following schema:
Accepted permissions
Project → Risk dimension thresholds → UpdateToken scope
Dimension Thresholds 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_id
project_id
dimension_id
Request
This endpoint expects an object.
name
blockThreshold
challengeThreshold

