lxc query

Send a raw query to LXD

Synopsis

Description: Send a raw query to LXD

lxc query [<remote>:]<API path> [flags]

Examples

  lxc query -X DELETE --wait /1.0/instances/c1
      Delete local instance "c1".

Options

  -d, --data      Input data
      --raw       Print the raw response
  -X, --request   Action (default "GET")
      --wait      Wait for the operation to complete

Options inherited from parent commands

      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number

SEE ALSO

  • lxc - Command line client for LXD