smctl delete-platform
deletes a set of platforms registered in the Service Manager instance.
smctl delete-platform [name] <name2 <name3> ... <nameN>> [flags]
delete-platform, dp
help
--help
(alias: -h
)
Help for delete-platform command.
cascade-delete
--cascade
Cascade delete for delete-platform command.
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 delete-platform sample-platform
Platform with name: sample-platform successfully deleted
> smctl delete-platform sample-platform --cascade
Cascade delete successfully scheduled for platform: sample-platform. To see status of the operation use:
smctl status /v1/platforms/baea022b-64c0-43d4-a9b0-e1ae64af51cd/operations/f8ca64af-e889-4a45-ad41-f1baa2e427c2