CLISecurity Groups
hudl sg delete <id>
Permanently delete a security group.
Permanently delete a security group. The group must not be in use by any instances. Remove the group from all instances before deleting.
Usage
hudl sg delete <id> [flags]Common flags
| Flag | Description |
|---|---|
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Delete a security group:
hudl sg delete 4f2a8c1b-7d3e-4a9f-b5c6-2d1e3f4a5b6cDelete with an idempotency key:
hudl sg delete 4f2a8c1b-7d3e-4a9f-b5c6-2d1e3f4a5b6c \
--idempotency-key delete-sg-web-001API reference
This command calls DELETE /security-groups/{id} under the hood. See the full request and response schema in the API reference.