Querying Tags of a Resource

Function

Query tags of a specified resource.

URI

GET /v2/{project_id}/{resource_type}/{resource_id}/tags

For details, see Table 1.
Table 1 Parameters in the URI

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. You can obtain it in Obtaining a Project ID.

resource_type

Yes

String

Resource type.

  • DNS-public_zone
  • DNS-private_zone
  • DNS-public_recordset
  • DNS-private_recordset
  • DNS-ptr_record

resource_id

Yes

String

Resource ID

Request

Response

Returned Value

If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.

For details, see Status Code.