setTags


SoftLayer_Network_Subnet::setTags

Description

Tag a subnet by passing in one or more tags separated by a comma. Any existing tags you wish to keep should be included in the set of tags, as any missing tags will be removed. To remove all tags from the subnet, send an empty string.

Parameters

Name Type Description
tags string Comma separated list of tags

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Subnet/{SoftLayer_Network_SubnetID}/setTags'