{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-update-secret-resolutions-request-schema.json",
  "title": "updateSecretResolutionsRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-secret-scanner-api-openapi.yml#/components/schemas/updateSecretResolutionsRequest",
  "type": "object",
  "properties": {
    "resolution": {
      "$ref": "#/$defs/UpdateSecretResolutionsRequestResolution",
      "description": "The secret's updated resolution status:\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n"
    },
    "workspaceId": {
      "type": "string",
      "description": "The ID of the workspace that contains the secret."
    }
  },
  "required": [
    "resolution",
    "workspaceId"
  ],
  "$defs": {
    "UpdateSecretResolutionsRequestResolution": {
      "type": "string",
      "enum": [
        "FALSE_POSITIVE",
        "REVOKED",
        "ACCEPTED_RISK"
      ],
      "description": "The secret's updated resolution status:\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n",
      "title": "UpdateSecretResolutionsRequestResolution"
    }
  }
}