Help Center/ VPC Endpoint/ CLI Reference/ CLI Command Reference
Updated on 2026-09-03 GMT+08:00

CLI Command Reference

VPC Endpoint Services

API Name

Command

Description

Operation

Creating a VPC Endpoint Service

hcloud VPCEP CreateEndpointService

This API is used to create a VPC endpoint service. Other users can create a VPC endpoint to connect to the VPC endpoint service.

Go debug

Querying VPC Endpoint Services

hcloud VPCEP ListEndpointService

This API is used to query VPC endpoint services.

Go debug

Querying Details of a VPC Endpoint Service

hcloud VPCEP ListServiceDetails

This API is used to query details of a VPC endpoint service.

Go debug

Modifying a VPC Endpoint Service

hcloud VPCEP UpdateEndpointService

This API is used to modify a VPC endpoint service.

Go debug

Deleting a VPC Endpoint Service

hcloud VPCEP DeleteEndpointService

This API is used to delete a VPC endpoint service.

Go debug

Querying Connections to a VPC Endpoint Service

hcloud VPCEP ListServiceConnections

This API is used to query connections to a VPC endpoint service. The marker ID is the unique ID of each connection.

Go debug

Accepting or Rejecting a VPC Endpoint

hcloud VPCEP AcceptOrRejectEndpoint

This API is used to accept or reject a VPC endpoint for a VPC endpoint service.

Go debug

Querying Whitelist Records of a VPC Endpoint Service

hcloud VPCEP ListServicePermissionsDetails

This API is used to query whitelist records of a VPC endpoint service.

Go debug

Batch Adding or Deleting Whitelist Records of a VPC Endpoint Service

hcloud VPCEP AddOrRemoveServicePermissions

This API is used to batch add or delete whitelist records of a VPC endpoint service.

Go debug

Querying Public VPC Endpoint Services

hcloud VPCEP ListServicePublicDetails

This API is used to query public VPC endpoint services.

Go debug

Querying Basic Information About a VPC Endpoint Service

hcloud VPCEP ListServiceDescribeDetails

This API is used to query basic information about a VPC endpoint service. You can use this API to query the target VPC endpoint service. This API can also be used by other users to query basic information about your VPC endpoint service, without exposing your server information.

Go debug

Changing the Name of a VPC Endpoint Service

hcloud VPCEP UpdateEndpointServiceName

This API is used to change the name of a VPC endpoint service.

Go debug

Updating Descriptions of VPC Endpoint Connections

hcloud VPCEP UpdateEndpointConnectionsDesc

This API is used to update descriptions of VPC endpoint connections.

Go debug

Batch Adding Whitelist Records of a VPC Endpoint Service

hcloud VPCEP BatchAddEndpointServicePermissions

This API is used to batch add whitelist records for VPC endpoint services of the current user. The description can be added.

Go debug

Batch Deleting Whitelist Records of a VPC Endpoint Service

hcloud VPCEP BatchRemoveEndpointServicePermissions

This API is used to batch delete whitelist records of a VPC endpoint service.

Go debug

Updating the Description of a Whitelist Record of a VPC Endpoint Service

hcloud VPCEP UpdateEndpointServicePermissionDesc

This API is used to update the whitelist description of a VPC endpoint service.

Go debug

Adding Backend Resources to a VPC Endpoint Service

hcloud VPCEP AddEndpointServiceServerResource

This API is used to add backend resources to a VPC endpoint service.

Go debug

VPC Endpoints

API Name

Command

Description

Operation

Creating a VPC Endpoint

hcloud VPCEP CreateEndpoint

This API is used to create a VPC endpoint for accessing a VPC endpoint service.

Go debug

Querying VPC Endpoints

hcloud VPCEP ListEndpoints

This API is used to query VPC endpoints.

Go debug

Querying Details of a VPC Endpoint

hcloud VPCEP ListEndpointInfoDetails

This API is used to query details of a VPC endpoint.

Go debug

Deleting a VPC Endpoint

hcloud VPCEP DeleteEndpoint

This API is used to delete a VPC endpoint.

Go debug

Updating a VPC Endpoint

hcloud VPCEP UpdateEndpointWhite

This API is used to update or delete the whitelist of a VPC endpoint.

Go debug

Modifying Route Tables Associated with a VPC Endpoint

hcloud VPCEP UpdateEndpointRoutetable

This API is used to modify route tables associated with a VPC endpoint.

Go debug

Modifying the Policy of a Gateway VPC Endpoint

hcloud VPCEP UpdateEndpointPolicy

This API is used to modify the policy of a VPC endpoint.

Go debug

Deleting the Policy of a Gateway VPC Endpoint

hcloud VPCEP DeleteEndpointPolicy

This API is used to delete the policy of a gateway VPC endpoint. This API will not be used anymore and is not recommended.

Go debug

Resource Quotas

API Name

Command

Description

Operation

Query Quotas

hcloud VPCEP ListQuotaDetails

This API is used to query the quota of your resources, including the quota of VPC endpoint services and the quota of VPC endpoints.

Go debug

Version Management

API Name

Command

Description

Operation

Querying Versions of VPC Endpoint APIs

hcloud VPCEP ListVersionDetails

This API is used to query versions of VPC Endpoint APIs.

Go debug

Querying the Version of a VPC Endpoint API

hcloud VPCEP ListSpecifiedVersionDetails

This API is used to query the version of a VPC Endpoint API.

Go debug

Tags

API Name

Command

Description

Operation

Querying Resources by Tag

hcloud VPCEP ListResourceInstances

This API is used to query resources of a tenant by tag.

Go debug

Batch Adding or Deleting Tags to or from a Resource

hcloud VPCEP BatchAddOrRemoveResourceInstance

This API is used to batch add or delete tags to and from a specified VPC endpoint service or VPC endpoint.

Go debug

Querying Resource Tags

hcloud VPCEP ListQueryProjectResourceTags

This API is used to query tags of resources of a tenant based on the tenant ID and resource type.

Go debug

Endpoint

API Name

Command

Description

Operation

Upgrading a VPC Endpoint

hcloud VPCEP UpgradeEndpoint

Upgrading a basic VPC endpoint to a professional VPC endpoint.

Go debug