wodby route update
Update app route
Usage
wodby route update ID [flags]
Options
| Flag |
Description |
Default |
--action string |
Route action: BACKEND or REDIRECT |
- |
--data string |
JSON request body |
- |
--disabled |
Set disabled state |
false |
-f, --file string |
Path to JSON request body |
- |
-h, --help |
help for update |
false |
--main |
Set main route state |
false |
--path string |
Route path |
- |
--path-type string |
Route path type: PREFIX or EXACT |
- |
--primary |
Set primary route state |
false |
--redirect-host string |
Redirect host |
- |
--redirect-path string |
Redirect path |
- |
--redirect-scheme string |
Redirect scheme |
- |
--redirect-status-code int |
Redirect status code |
0 |
Options inherited from parent commands
| Flag |
Description |
Default |
--access-token string |
Access token |
- |
--api-base-url string |
Public REST API base URL |
https://apiv2.wodby.com/v1 |
--api-key string |
API key |
- |
--ci-config-path string |
Path to CI config |
/tmp/.wodby-ci.json |
-o, --output string |
Output format: table or json |
table |
--verbose |
Verbose output |
false |