Skip to main content

tcb cors rm

Delete one or more security domains from the current environment.

v3.0.0+

tcb cors has been available since v3.0.0.

Usage​

tcb cors rm <domain> [options]

Parameters​

ParameterRequiredDescriptionDefault
<domain>YesSecurity domain, several separated by commas—
-e, --env-id <envId>NoEnvironment IDenvId in the configuration

Examples​

# One domain
tcb cors rm example.com -e <envId>

# Several domains
tcb cors rm example.com,test.example.com -e <envId>

Notes​

The domain must already exist in the allowlist, otherwise the command fails.