Classes SoftLayer_Tag
Tags method sldn tag


Set the tags for a given object.


Tag an object by passing in one or more tags separated by a comma. Tag references are cleared out every time this method is called. If your object is already tagged you will need to pass the current tags along with any new ones. To remove all tag references pass an empty string. To remove one or more tags omit them from the tag list. The characters permitted are A-Z, 0-9, whitespace, _ (underscore), - (hypen), . (period), and : (colon). All other characters will be stripped away. You must pass 3 string arguments into this method or you will receive an exception.


Name Type Description
tags string List of tags.
keyName string Key name of a tag type.
resourceTableId int $resourceTableId ID of the object being tagged.

Required Headers

Optional Headers

  • None

Return Values

  • boolean