Azion CLI delete
With the azion delete [resource]
command you can delete:
Edge applications
Usage
Required flags
application-id
The --application-id
flag is the unique identifier of the edge application.
cascade
The --cascade
deletes all resources created through the ‘azion deploy’ command (default true).
Optional flags
help
The --help
option displays more information about the azion delete edge-application
command.
Edge functions
Usage
Required flags
function-id
The --function-id
flag is the unique identifier of the edge function.
Optional flags
help
The --help
option displays more information about the azion delete edge-function
command.
Rules engine
Usage
Required flags
rule-id
The --rule-id
flag specifies the unique identifier for the rule in Rules Engine.
application-id
The --application-id
flag specifies the unique identifier for your edge application.
phase
The --phase
flag specifies the phase of your Rules Engine’s rule. It’s either request
or response
.
Optional flags
help
The -h
or --help
flag displays more information about the azion delete rules-engine
command.
Cache settings
Usage
Required flags
application-id
The --application-id
flag sets the unique identifier for the edge application.
cache-settings-id
The --cache-settings-id
flag sets the unique identifier for a Cache Settings configuration.
Optional flags
help
The --help
option displays more information about the azion delete cache-setting
command.
Domains
Description
Removes a domain from the domains library based on a given ID.
Usage
Required flags
domain-id
The --domain-id
flag specifies the unique identifier of the domain that you want to delete.
Optional flags
help
The -h
or --help
option displays more information about the azion delete domain
command.
Example
Origins
Usage
Required flags
application-id
The --application-id
flag sets the unique identifier for an edge application. It’s a required field.
origin-key
The --origin-key
flag sets the unique identifier for an origin. It’s a required field.
Optional flags
help
The -h
or --help
option displays more information about the azion delete origin
action.
Variables
Usage
Required flags
variable-id
The --variable-id
flag provides the UUID for the environment variable being deleted.
Optional flags
help
The --help
option displays more information about the delete
command.
Personal tokens
Usage
Required flags
id
The --id
option informs the unique identifier of the personal token being deleted.
Optional flags
help
The --help
option displays more information about the delete
subcommand.
Edge Storage bucket
Usage
Required flags
bucket-name
The --bucket-name
flag specifies the name of the Edge Storage bucket you want to delete.
Optional flags
help
The -h
or --help
option displays more information about the azion delete edge-storage bucket
command.
Edge Storage object
Usage
Required flags
bucket-name
The --bucket-name
flag specifies the name of the Edge Storage bucket where the object you want to delete is stored.
object-key
The --object-key
flag specifies the key of the object in the Edge Storage bucket that you want to delete.
Optional flags
help
The -h
or --help
option displays more information about the azion delete edge-storage object
command.