---
title: "UpdateScorecardCriteria"
url: "https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f/schemas/UpdateScorecardCriteria"
---

> Full API specification: https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f.md

# UpdateScorecardCriteria

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.2.0
servers:
  - url: https://us.api.konghq.com/v1
    description: US Region Base URL
  - url: https://eu.api.konghq.com/v1
    description: EU Region Base URL
  - url: https://au.api.konghq.com/v1
    description: AU Region Base URL
  - url: https://me.api.konghq.com/v1
    description: ME Region Base URL
  - url: https://in.api.konghq.com/v1
    description: IN Region Base URL
components:
  schemas:
    CreateScorecardCriteria:
      type: object
      additionalProperties: false
      required:
        - enabled
        - template_name
        - template_parameters
      properties:
        enabled:
          type: boolean
          example: true
        template_name:
          $ref: "#/components/schemas/CriteriaTemplateName"
        template_parameters:
          $ref: "#/components/schemas/CriteriaParameters"
    CriteriaTemplateName:
      type: string
      description: Reference to the unique `name` of the criteria template.
      example: time_to_restore_service
    CriteriaParameters:
      type: object
      description: Input parameters for the given criteria template.
      nullable: true
      additionalProperties: true
      example:
        measure: median
        threshold:
          unit: hours
          value: 6
        window:
          unit: months
          value: 3
    UpdateScorecardCriteria:
      title: UpdateScorecardCriteria
      x-flatten-allOf: true
      allOf:
        - type: object
          additionalProperties: false
          required:
            - id
          properties:
            id:
              type: string
              format: uuid
              example: 5c1121f9-3f3a-47c7-9bb6-c81a51128714
        - $ref: "#/components/schemas/CreateScorecardCriteria"
```
