All Products
Search
Document Center

Service Catalog:AssociateTagOptionWithResource

Last Updated:Mar 03, 2024

Associates the tag option with a resource.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceIdstringYes

The ID of the resource with which the tag option is associated.

port-bp15p96922****
TagOptionIdstringYes

The ID of the tag option.

tag-bp1u6mdf3d****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

DC833558-AFF4-5935-9AB6-8A12EE7D****

Examples

Sample success responses

JSONformat

{
  "RequestId": "DC833558-AFF4-5935-9AB6-8A12EE7D****"
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.