projects
thresholds

Update a threshold

Changed on

Update a threshold for a project. The user must have edit permissions for the project, or provide a valid project key for the project. The new model will be added to the threshold and used going forward. The old model will be replaced but still show up in the report history and alerts created when it was active. A threshold with no model can only be given one while its branch, testbed, and measure have fewer than 64 thresholds with a model.

put/v0/projects/{project}/thresholds/{threshold}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

projectstring required

The slug or UUID for a project.

thresholdstring uuid required

The UUID for a threshold.

Request body

OR

Response

successful operation

createdstring date-time required
metricstring

The name of a single scalar inside a metric.

Every name is equal on the wire. value, lower_value, and upper_value are conventional, not privileged: they are the names the metric triple maps onto, and the names the console knows well enough to draw a band.

modifiedstring date-time required
parametersobject[]
projectstring uuid required
uuidstring uuid required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the required property ////// to the response with the status