{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-query-shape-update-request-schema.json",
  "title": "QueryShapeUpdateRequest",
  "description": "Request body for modifying the rejection status of a query shape.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-query-shape-insights-api-openapi.yml#/components/schemas/QueryShapeUpdateRequest",
  "properties": {
    "status": {
      "description": "The rejection status of a query shape. Use REJECTED to prevent the query shape from executing on the cluster, or UNREJECTED to allow it to execute.",
      "enum": [
        "REJECTED",
        "UNREJECTED"
      ],
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}