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
| Parameter | Required | Description | Default |
|---|---|---|---|
<domain> | Yes | Security domain, several separated by commas | — |
-e, --env-id <envId> | No | Environment ID | envId 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.