fastly apisecurity operations create
Create an operation.
Syntax
$ fastly apisecurity operations create --service-id=SERVICE-IDOptions
| Key | Required? | Default | Description |
|---|---|---|---|
--service-id | Yes | Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml) | |
--service-name | No | The name of the service | |
--method | No | The HTTP method for the operation (e.g., GET, POST, PUT) | |
--domain | No | Domain for the operation | |
--path | No | The path for the operation, which may include path parameters.(e.g., /api/users) | |
--description | No | Description of what the operation does | |
--tag-ids | No | A comma-separated array of operation tag IDs associated with this operation | |
--file | No | Create operations in bulk from a JSON file | |
--json | No | Render output as JSON |
Global options
| Key | Required? | Default | Description |
|---|---|---|---|
--help | No | Show context-sensitive help. | |
--accept-defaults | No | Accept default options for all interactive prompts apart from Yes/No confirmations | |
--auto-yes | No | Answer yes automatically to all Yes/No confirmations. This may suppress security warnings | |
--debug-mode | No | Print API request and response details (NOTE: can disrupt the normal CLI flow output formatting) | |
--non-interactive | No | Do not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes | |
--quiet | No | Silence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive) | |
--token | No | Fastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var | |
--verbose | No | Verbose logging |