Skip to main content
 print this page

Attach or detach cost tags on resources

PUT 

/cost-management/tags

Bulk-updates cost allocation tags on resources of a single ResourceType using MultiTagUpdationObj. Action is Attach or Detach. Optional Source Resource indicates the request originated from resource management (supports tag-value replacement on Attach). On success the API either starts the cost-allocation tag Step Functions workflow and returns a triggered message, or returns a no-op message when there are no resources to add or remove (already attached/detached). Completion emails are sent per tag when the Step Function finishes. Not synchronous: resource tagging continues asynchronously after 200.

Request

Responses

Tag update accepted. Message indicates Step Functions was triggered, or that there were no resources to add/remove (no-op).

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers