GET
/
cloud
/
v1
/
loadbalancers
/
{project_id}
/
{region_id}
/
{loadbalancer_id}
/
metadata_item
Get load balancer tag
curl --request GET \
  --url https://api.gcore.com/cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}/metadata_item \
  --header 'Authorization: <api-key>'
{
  "key": "my-tag",
  "read_only": false,
  "value": "my-tag-value"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

loadbalancer_id
string
required

Loadbalancer ID

Query Parameters

key
string

Tag key

Response

200 - application/json

Load balancer 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.

key
string
required

Tag key. The maximum size for a key is 255 bytes.

Examples:

"my-tag"

read_only
boolean
required

If true, the tag is read-only and cannot be modified by the user

Examples:

false

value
string
required

Tag value. The maximum size for a value is 1024 bytes.

Examples:

"my-tag-value"