---
title: "Update Deployment"
method: PATCH
path: "/ai/deployment/{id}"
tags: ["deployment"]
---

# Update Deployment

`PATCH /ai/deployment/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/ai/deployment/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/ai/deployment/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update AI deployment

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateDeploymentRequest: Update AI deployment
  - `inference-engine-version` '0.12.0' | '0.15.1' | '0.16.0' | '0.17.0' | '0.18.0' | '0.18.1' | '0.19.0' | '0.19.1' | '0.20.0' | '0.20.1' | '0.20.2' | '0.21.0' | '0.22.0' | '0.22.1' | '0.23.0' | '0.24.0' | '0.25.0' | '0.25.1' | '0.26.0': Inference engine version
  - `name` string: Deployment name
  - `inference-engine-parameters` string[]: Optional extra inference engine server CLI args

## Response `200`

OK

- Operation: Operation
  - `id` string, uuid: Operation ID
  - `reason` 'incorrect' | 'unknown' | 'unavailable' | 'forbidden' | 'busy' | 'fault' | 'partial' | 'not-found' | 'interrupted' | 'unsupported' | 'conflict': Operation failure reason
  - `reference` object: Related resource reference
    - `id` string, uuid: Reference ID
    - `link` string: Link to the referenced resource
    - `command` string: Command name
  - `message` string: Operation message
  - `state` 'failure' | 'pending' | 'success' | 'timeout': Operation status

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
