cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/securitygroups/{project_id}/{region_id}/{group_id}/metadata \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "key": "<string>", "read_only": true, "value": "<string>" } ] }
List all tags associated with a security group.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
Region ID
Security group ID
List of key-value tags
Number of objects
x >= 0
Objects
Show child attributes
Tag key. The maximum size for a key is 255 characters.
If true, the tag is read-only and cannot be modified by the user
Tag value. The maximum size for a value is 255 characters.
Was this page helpful?