smctl update-broker
updates a service broker with the provided name in the Service Manager instance.
smctl update-broker [name] <json_broker> [flags]
smctl update-broker broker '{"name": "new-name", "description": "new-description", "broker_url": "http://broker.com", "credentials": { "basic": { "username": "admin", "password": "admin" } }}'
update-broker, ub
help
--help
(alias: -h
)
Help for update-broker command.
output format
--output
(alias: -o
)
Output format of the command. Possible opitons: json, yaml, text
config
--config
Set the path for the smctl config.json file (default is $HOME/.sm/config.json)
verbose
--verbose
(alias: -v
)
Use verbose mode.
> smctl update-broker sample-broker-1 '{"description": "Updated sample-broker description"}'
ID Name URL Description Created Updated
------------------------------------ --------------- ------------------------------ --------------------------------- -------------------- --------------------
a52be735-30e5-4849-af23-83d65d592464 sample-broker-1 https://demobroker.domain.com/ Updated sample-broker description 2018-06-22T13:04:19Z 2018-06-22T13:04:19Z