Updated on 2025-09-05 GMT+08:00

Querying All DeH Tags

Function

This API is used to query all DeH tags of a tenant.

URI

GET /v1.0/{project_id}/dedicated-host-tags/tags

Table 1 describes the parameters.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

The project ID.

Request

None

Response

Table 2 Response parameter

Parameter

Type

Description

tags

Array of TagResource

The list of DeH tags.

For details, see Table 3.

Table 3 TagResource field description

Parameter

Type

Description

key

String

The tag key of the DeH.

values

Array

The tag value of the DeH.

Example Request

Querying all DeH tags of tenant 9c53a566cb3443ab910cf0daebca90c4.

GET https://{Endpoint}/v1/9c53a566cb3443ab910cf0daebca90c4/dedicated-host-tags/tags

Example Response

{
    "tags": [
        {
            "key": "key",
            "values": [
                "value"
            ]
        }
    ]
}

Return Value

See Status Codes.