---
title: "Update Odoo instance"
method: POST
path: "/instances/{id}/update"
tags: ["Odoo Instances"]
---

# Update Odoo instance

`POST /instances/{id}/update`

## Request

- Base URL: `https://api.cloudpepper.io`
- URL: `https://api.cloudpepper.io/instances/{id}/update`
- Auth: HTTP bearer

Updates the specified Odoo instance with a new commit. This endpoint allows you to update your Odoo instance to a specific version or commit, useful for applying security patches, bug fixes, or new features. The instance status will be set to 'modifying' during the update process.

**Key Parameters:**
- `id`: The unique identifier of the instance you want to update
- `commit_sha`: The Git commit SHA representing the version you want to update to

## Request body

- object
  - `commit_sha` string, required: Git commit SHA to update the instance to

## Response `200`

Instance update initiated successfully

## Other responses

- `400`: Invalid input data
- `404`: Instance not found

---

[API](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs.md) · [All operations](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs/revisions/b6a59274cedc?raw)
