EC2-DELETE-TAGS(1)
β¨ ec2-delete-tags β the "nvm bestie, remove that tag" era β¨
okay so welcome to the ec2-delete-tags page from the EC2 API command line tools manual, section 1 (User Commands). sit down, hydrate, and let's un-tag some stuff together π
πΈ NAME πΈ
ec2-delete-tags β Remove a set of tags. that's it. that's the whole job. she's a deleter π
π SYNOPSIS π
ec2deltag ([ec2-delete-tags])
ec2deltag [GENERAL OPTIONS] RESOURCE_ID [RESOURCE_ID ...] --tag
KEY[=VALUE] [--tag KEY[=VALUE] ...]
lowkey notice that the command is literally calledec2deltagin the synopsis, notec2-delete-tags. both are on the invite list, iykyk β¨
π¦ GENERAL NOTES π¦
Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin. yes bestie, the whole entire value can be a little - and it'll slurp it from stdin instead. iconic behavior fr fr π
π DESCRIPTION π
So the vibe is: Removes a set of tags from a set of resources. You only need to specify the tag key, and not the value. π«Ά
But listen β If you do specify a value, and it is incorrect, the tag is not deleted. Not "close enough", not "she'll figure it out". Wrong value = nothing happens. no cap. π
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β your AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set). π-W,--aws-secret-keyKEY β your AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). shhh, that's a secret π€«-T,--security-tokenTOKEN β AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-keyKEY β [DEPRECATED] Specify KEY as the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default. (deprecated bestie, she's retired but still shows up to the function π)-C,--certCERT β [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. (also deprecated, also still in the group chat π)-U,--urlURL β Specify URL as the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default. π--regionREGION β Specify REGION as the web service region to use. This option will override the URL specified by the"-U URL"option andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set. π-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. the "pretend to do it" button, the rehearsal, the dress run β¨-v,--verboseβ Verbose output. she's chatty and we love that π¬-?,--helpβ Display this help. hiii π-H,--headersβ Display column headers. π--debugβ Display additional debugging information. for when you need to know everything π₯--show-empty-fieldsβ Indicate empty fields. π³οΈ--hide-tagsβ Do not display tags for tagged resources. π--connection-timeoutTIMEOUT β Specify a connection timeout TIMEOUT (in seconds). β³--request-timeoutTIMEOUT β Specify a request timeout TIMEOUT (in seconds). β³
π§ SPECIFIC OPTIONS π§
-t,--tagTAG β Tag in the form ofkey[=value]. the=valuepart is optional, she's flexible like that π
β SEE ALSO β
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read the docs bestie, they ate π
okay that's the whole page, you're fully caught up, go delete those tags responsibly π«Ά
EC2 API command line tools β 1.6.14.1, api=2014-05-01 πΈ and that footer energy is from the EC2-DELETE-TAGS(1) page itself. periodt. πβ¨
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms