GET
/
cloud
/
v2
/
instances
/
{project_id}
/
{region_id}
/
{instance_id}
/
metadata_item
curl --request GET \
  --url https://api.gcore.com/cloud/v2/instances/{project_id}/{region_id}/{instance_id}/metadata_item \
  --header 'APIKey: <api-key>'
{
  "key": "my-tag",
  "read_only": false,
  "value": "my-tag-value"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

instance_id
string
required

Instance ID

Query Parameters

key
string

Tag key

Response

200 - application/json

Instance tag

A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.