Avisi cloud logo
Commands

playhouse delete

Delete a playhouse (alpha)

Synopsis

Delete a playhouse — the AME cluster that hosts playrooms.

ALPHA: this command is in active development; flags and behaviour may change between releases.

The playhouse may be named either way it appears: by the name it was created with ("demo") or by its full cluster slug ("playhouse-demo").

Before deleting, the playhouse is checked for playrooms: deletion is refused while any exist (running or stopped), because deleting the playhouse destroys them and their data. Pass --force to skip that check — needed when the playhouse is stopped or unreachable, since the check requires connecting to it. You are asked for confirmation unless --yes is given; --force does not skip the confirmation.

By default this waits until the cluster is fully deleted before returning. Pass --no-wait to return as soon as the delete is issued.

acloud playhouse delete NAME [flags]

Examples

  # delete an empty playhouse
  acloud playhouse delete playhouse-demo-04

  # without the confirmation prompt
  acloud playhouse delete playhouse-demo-04 --yes

  # issue the delete but don't wait for the cluster to disappear
  acloud playhouse delete playhouse-demo-04 --no-wait

  # delete even though playrooms may still be inside (destroys them and their data)
  acloud playhouse delete playhouse-demo-04 --force

Options

      --force                   skip the playroom check; deletes the playhouse even when playrooms are still inside or the check cannot run, destroying them and their data
  -h, --help                    help for delete
      --no-wait                 return immediately after issuing the delete; don't wait for the cluster to be gone
      --wait-timeout duration   max time to wait for the playhouse cluster to be fully deleted (default 5m0s)
  -y, --yes                     skip the confirmation prompt

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO

On this page