Tag Resource

POST {{aws_lightsail_base_url}}/?resourceArn&resourceName&tags&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
resourceArnnullThe Amazon Resource Name (ARN) of the resource to which you want to add a tag.
resourceNamenullThe name of the resource to which you are adding tags.
tagsnullThe tag key and optional value.
VersionstringThe version of the API.

Request Body

{"resourceArn"=>"string", "resourceName"=>"string", "tags"=>[{"key"=>"string", "value"=>"string"}]}