---
title: "Update image by given info"
method: PUT
path: "/mf/v1/image/{image_id}"
tags: ["image"]
---

# Update image by given info

`PUT /mf/v1/image/{image_id}`

Update Image.

## Path parameters

- `image_id` number, required

## Request body

- ImagePutRequest
  - `image_name` string — Image Name.
  - `model_version_id` number — Model Version id.
  - `remarks` string — Remark.

## Response `200`

OK

- Image
  - `id` number — Image Id.
  - `image_name` string — Image Name.
  - `model_version_id` number — Model Version id.
  - `user_id` string — Creation user of this image.
  - `creation_timestamp` string — Creation timestamp.
  - `last_updated_timestamp` string — Last updated timestame.
  - `status` string — Image CI Status of Image, contains building, deploying, complete.

## Other responses

- `401` — Unauthorized
- `404` — The Models cannot be found

---

[API](https://skmtc.dev/webankfintech/apis/mf-server.md) · [All operations](https://skmtc.dev/webankfintech/apis/mf-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mf-server/revisions/5ad7fc23d2c6/schema)
