Help Center/ Cloud Connect/ CLI Reference/ CLI Command Reference (V2)
Updated on 2026-09-08 GMT+08:00

CLI Command Reference (V2)

Tag Management

API Name

Command

Description

Operation

Querying All Tags by Resource Type

hcloud CC ListDomainTags/v2

This API is used to query all the tags by resource type. This API is a historical API. You are advised to use the APIs described in "Querying the Tags Added to a Cloud Connection" and "Querying the Tags of a Bandwidth Package".

Go debug

Deleting a Resource Tag

hcloud CC DeleteTag/v2

This API is used to delete a resource tag. This API is a historical API. You are advised to use the APIs described in "Deleting a Tag from a Cloud Connection" and "Deleting a Tag from a Bandwidth Package".

Go debug

Batch Creating or Deleting Tags

hcloud CC BatchCreateDeleteTags/v2

This API is used to add or delete tags in batches. This API is a historical API. You are advised to use the APIs described in "Adding a Tag to a Cloud Connection", "Adding a Tag to a Bandwidth Package", "Deleting a Tag from a Cloud Connection", and "Deleting a Tag from a Bandwidth Package".

Go debug

Querying Resources

hcloud CC ListResourceByFilterTag/v2

This API is used to query resources. This API is a historical API. You are advised to use the APIs described in "Querying Cloud Connections by Tag" and "Querying Bandwidth Packages by Tag".

Go debug

Querying Resource Tags

hcloud CC ListTags/v2

This API is used to query tags of a resource. This API is a historical API. You are advised to use the APIs described in "Querying the Tags Added to a Cloud Connection" and "Querying the Tags of a Bandwidth Package".

Go debug

Adding a Resource Tag

hcloud CC CreateTag/v2

This API is used to add a tag to a resource. This API is a historical API. You are advised to use the APIs described in "Adding a Tag to a Cloud Connection" and "Adding a Tag to a Bandwidth Package".

Go debug