All Products
Search
Document Center

Bastionhost:ModifyInstanceAttribute

Last Updated:Jun 26, 2026

Modifies the information of a specified bastion host 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 parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the bastion host instance.

Note

You can call the DescribeInstances operation to query the bastion host instance ID.

bastionhost-cn-78v1gh****

Description

string

No

The description of the bastion host instance.

Note

The description can contain only letters, Chinese characters, digits, underscores (_), or hyphens (-), and cannot exceed 30 characters in length.

Bastionhost demo

RegionId

string

No

The region ID of the bastion host instance.

Note

For information about the mapping between region IDs and region names, see Regions and zones.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues.

E07158EA-D1A3-4BAA-84DA-2FE230D03884

Examples

Success response

JSON format

{
  "RequestId": "E07158EA-D1A3-4BAA-84DA-2FE230D03884"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.