All Products
Search
Document Center

Hologres:UpdateInstancePort

Last Updated:Jun 10, 2026

Memperbarui Port suatu Instans.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST /api/v1/instances/{instanceId}/updatePort HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

ID Instans.

hgprecn-cn-i7m2v08uxxx

Parameter permintaan

Parameter

Type

Required

Description

Example

body

object

No

Badan permintaan.

port

integer

No

The port of the instance. Valid values: 1 to 65535.

443

Elemen respons

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

D1303CD4-AA70-5998-8025-F55B22C50840

data

boolean

The result of the operation. A value of true indicates that the operation is successful. A value of false indicates that the operation fails.

true

Success

string

Indicates whether the request was successful. This parameter is independent of the result of the operation.

true

ErrorCode

string

The error code.

null

ErrorMessage

string

The error message.

null

HttpStatusCode

string

The HTTP status code.

200

Contoh

Respons sukses

JSONformat

{
  "RequestId": "D1303CD4-AA70-5998-8025-F55B22C50840",
  "data": true,
  "Success": "true",
  "ErrorCode": "null",
  "ErrorMessage": "null",
  "HttpStatusCode": "200"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.