All Products
Search
Document Center

ENS:ModifyAICInstanceType

Last Updated:Feb 02, 2026

Changes the instance type of an AIC instance.

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

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

ID of the instance to upgrade or downgrade.

aic-xxxx-0

InstanceType

string

Yes

Target instance type for the AIC container.

aic.cf52r.c1.np

ImageId

string

Yes

Image ID.

yourImage ID

EnvironmentVar

string

No

Set one or more environment variables during instance initialization.

[object Object]

Resolution

string

No

Screen resolution. Valid values:

  • 1920×1080

  • 1080×1920

  • 1280×720

  • 720×1280

  • 2400×1080

  • 1080×2400

  • 1920×864

  • 864×1920

720*1280

Frequency

integer

No

Refresh rate, in Hz. Valid values:

  • 30

  • 60

  • 120

30

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Request ID

F590DD6C-B78B-571B-8FE9-B6ECEED9BE3C

Examples

Success response

JSON format

{
  "RequestId": "F590DD6C-B78B-571B-8FE9-B6ECEED9BE3C"
}

Error codes

HTTP status code

Error code

Error message

Description

400 NoPermission Permission denied.
400 InvalidParameter.%s The specified field %s invalid. Please check it again.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.