fastly routing-config delete

Delete a routing config. This is rejected if the routing config is still associated with any domain, regardless of --force; unset those associations first with 'fastly domain update --routing-config-id nil'.

Syntax

$ fastly routing-config delete --routing-config-id=ROUTING-CONFIG-ID

Options

KeyRequired?DefaultDescription
--routing-config-idYesThe Routing Config Identifier
--forceNoDelete the routing config even if it has an active version, bypassing the active-version check. You still can't delete a routing config that's linked to a domain

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--accept-defaultsNoAccept default options for all interactive prompts apart from Yes/No confirmations
--auto-yesNoAnswer yes automatically to all Yes/No confirmations. This may suppress security warnings
--debug-modeNoPrint API request and response details (NOTE: can disrupt the normal CLI flow output formatting)
--non-interactiveNoDo not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes
--quietNoSilence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive)
--tokenNoFastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var
--verboseNoVerbose logging

Examples

Delete a routing config

This fails if the routing config is still associated with any domain, even with --force. Unset the association first with fastly domain update --domain-id <id> --routing-config-id nil.

$ fastly routing-config delete --routing-config-id 1a2b3c4d

API equivalent

This command internally uses the following Fastly public APIs: