POST
/
cloud
/
v1
/
subnets
/
{project_id}
/
{region_id}
/
{subnet_id}
/
metadata
curl --request POST \
  --url https://api.gcore.com/cloud/v1/subnets/{project_id}/{region_id}/{subnet_id}/metadata \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

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

Examples:

1

region_id
integer
required

Region ID

Examples:

1

subnet_id
string
required

Subnet ID

Examples:

"b39792c3-3160-4356-912e-ba396c95cdcf"

Body

application/json · CreateTagsSerializer · object

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.

Response

204

No Content