---
title: "Upgrade an installed pack, or change its values"
method: POST
path: "/v1/rule-packs/installed/{installationId}/upgrade"
tags: ["RulePacks"]
---

# Upgrade an installed pack, or change its values

`POST /v1/rule-packs/installed/{installationId}/upgrade`

## Request

- Base URL: `https://api.ironfang.com/audit`
- URL: `https://api.ironfang.com/audit/v1/rule-packs/installed/{installationId}/upgrade`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

The explicit action. Regenerates the pack's rules and writes the differences as ordinary revisions, so every change keeps its history. Rules the pack no longer ships are reported as orphaned and left alone rather than deleted, because you may still want the requirement.

## Request body

- object
  - `variables` object: Omit to reuse the values given at install.

## Response `200`

What the upgrade changed

## Other responses

- `404`: Problem response
- `422`: Problem response

---

[API](https://skmtc.dev/ironfang/apis/ironfang-audit-api.md) · [All operations](https://skmtc.dev/ironfang/apis/ironfang-audit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ironfang/apis/ironfang-audit-api/revisions/7430deff2cbd?raw)
