Skip to content

Latest commit

 

History

History
67 lines (59 loc) · 1.35 KB

delete-platform.md

File metadata and controls

67 lines (59 loc) · 1.35 KB

smctl delete-platform

Overview

smctl delete-platform deletes a set of platforms registered in the Service Manager instance.

Usage

smctl delete-platform [name] <name2 <name3> ... <nameN>> [flags]

Aliases

delete-platform, dp 

Flags

help

--help (alias: -h)

Help for delete-platform command.

cascade-delete

--cascade

Cascade delete for delete-platform command.

Global Flags

config

--config

Set the path for the smctl config.json file (default is $HOME/.sm/config.json)

verbose

--verbose (alias: -v)

Use verbose mode.

Example

> 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