Scorecards

Update Scorecard outcomes

Updates multiple scorecard rule outcomes in a single batched request.

post/api/v2/scorecard/outcomes

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/scorecard/outcomes
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: apm_service_catalog_write

Request body

Example request

{
  "data": {
    "attributes": {
      "results": [
        {
          "entity_reference": "service:my-service",
          "remarks": "See: <a href=\"https://app.datadoghq.com/services\">Services</a>",
          "rule_id": "q8MQxk8TCqrHnWkx",
          "state": "pass"
        }
      ]
    },
    "type": "batched-outcome"
  }
}

Response

Accepted

Changes

No recorded changes to this operation across all 1 revision of this API.