All Products
Search
Document Center

Hologres:UpdateModelService

Last Updated:May 14, 2026

Updates a model service. This operation applies only to Hologres AI.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

PATCH /api/v1/instances/{instanceId}/updateModelService HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

The instance ID.

hgprecn-cn-xxxxxxx

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

modelServiceName

string

Yes

A custom name for the model service.

model-qwen

modelType

string

No

The model name.

Qwen/Qwen2.5-VL-32B-Instruct

cpu

integer

No

The CPU specifications.

32

memory

integer

No

The memory specifications.

60

gpu

integer

No

The GPU specifications.

1

serviceCount

integer

No

The number of service replicas.

2

Response elements

Element

Type

Description

Example

object

The response object.

requestId

string

The request ID.

819A7F0F-2951-540F-BD94-6A41ECF0281F

data

boolean

true if the operation was successful; false otherwise.

true

Examples

Success response

JSON format

{
  "requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
  "data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.