> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infragrid.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a Runbook

> Replace a Runbook definition using optimistic concurrency.

Requires `runbooks:write`.

<ParamField path="runbook_id" type="string" required>
  Stable Runbook identifier.
</ParamField>

<ParamField body="expectedVersion" type="integer" required>
  Version returned by the last successful read. A stale value returns `409`.
</ParamField>

<ParamField body="title" type="string" required>
  Replacement title.
</ParamField>

<ParamField body="steps" type="RunbookStep[]" required>
  Complete replacement step list.
</ParamField>

<ParamField body="parameters" type="RunbookParameter[]" required>
  Complete replacement input contract.
</ParamField>


## Related topics

- [Programmable Runbooks](/guides/runbooks.md)
- [API overview](/reference/overview.md)
- [Authentication](/authentication.md)
- [TypeScript SDK](/sdks/typescript.md)
- [Changelog](/changelog.md)
