Azion CLI delete
With the azion delete [resource]
command you can delete:
Edge applications
Section titled Edge applicationsUsage
Section titled UsageRequired flags
Section titled Required flagsapplication-id
Section titled application-idThe --application-id
flag is the unique identifier of the edge application.
cascade
Section titled cascadeThe --cascade
deletes all resources created through the ‘azion deploy’ command (default true).
Optional flags
Section titled Optional flagsThe --help
option displays more information about the azion delete edge-application
command.
Edge functions
Section titled Edge functionsUsage
Section titled UsageRequired flags
Section titled Required flagsfunction-id
Section titled function-idThe --function-id
flag is the unique identifier of the edge function.
Optional flags
Section titled Optional flagsThe --help
option displays more information about the azion delete edge-function
command.
Rules engine
Section titled Rules engineUsage
Section titled UsageRequired flags
Section titled Required flagsrule-id
Section titled rule-idThe --rule-id
flag specifies the unique identifier for the rule in Rules Engine.
application-id
Section titled application-idThe --application-id
flag specifies the unique identifier for your edge application.
phase
Section titled phaseThe --phase
flag specifies the phase of your Rules Engine’s rule. It’s either request
or response
.
Optional flags
Section titled Optional flagsThe -h
or --help
flag displays more information about the azion delete rules-engine
command.
Cache settings
Section titled Cache settingsUsage
Section titled UsageRequired flags
Section titled Required flagsapplication-id
Section titled application-idThe --application-id
flag sets the unique identifier for the edge application.
cache-settings-id
Section titled cache-settings-idThe --cache-settings-id
flag sets the unique identifier for a Cache Settings configuration.
Optional flags
Section titled Optional flagsThe --help
option displays more information about the azion delete cache-setting
command.
Domains
Section titled DomainsDescription
Section titled DescriptionRemoves a domain from the domains library based on a given ID.
Usage
Section titled UsageRequired flags
Section titled Required flagsdomain-id
Section titled domain-idThe --domain-id
flag specifies the unique identifier of the domain that you want to delete.
Optional flags
Section titled Optional flagsThe -h
or --help
option displays more information about the azion delete domain
command.
Example
Section titled ExampleOrigins
Section titled OriginsUsage
Section titled UsageRequired flags
Section titled Required flagsapplication-id
Section titled application-idThe --application-id
flag sets the unique identifier for an edge application. It’s a required field.
origin-key
Section titled origin-keyThe --origin-key
flag sets the unique identifier for an origin. It’s a required field.
Optional flags
Section titled Optional flagsThe -h
or --help
option displays more information about the azion delete origin
action.
Variables
Section titled VariablesUsage
Section titled UsageRequired flags
Section titled Required flagsvariable-id
Section titled variable-idThe --variable-id
flag provides the UUID for the environment variable being deleted.
Optional flags
Section titled Optional flagsThe --help
option displays more information about the delete
command.
Personal tokens
Section titled Personal tokensUsage
Section titled UsageRequired flags
Section titled Required flagsThe --id
option informs the unique identifier of the personal token being deleted.
Optional flags
Section titled Optional flagsThe --help
option displays more information about the delete
subcommand.
Edge Storage bucket
Section titled Edge Storage bucketUsage
Section titled UsageRequired flags
Section titled Required flagsbucket-name
Section titled bucket-nameThe --bucket-name
flag specifies the name of the Edge Storage bucket you want to delete.
Optional flags
Section titled Optional flagsThe -h
or --help
option displays more information about the azion delete edge-storage bucket
command.
Edge Storage object
Section titled Edge Storage objectUsage
Section titled UsageRequired flags
Section titled Required flagsbucket-name
Section titled bucket-nameThe --bucket-name
flag specifies the name of the Edge Storage bucket where the object you want to delete is stored.
object-key
Section titled object-keyThe --object-key
flag specifies the key of the object in the Edge Storage bucket that you want to delete.
Optional flags
Section titled Optional flagsThe -h
or --help
option displays more information about the azion delete edge-storage object
command.