Docs
Commands

Commands

General

Set your Auth Token

lsh login

Update the CLI to latest version

lsh update

Api Keys

Create an API Key

lsh api_keys create

Delete an API Key

lsh api_keys destroy

List API Keys

lsh api_keys list

Update an API Key

lsh api_keys update

Help

Plans

Retrieve information of a plan

lsh plans get

List available plans

lsh plans list

List bandwidth package plans

lsh plans list-bandwidth

Projects

Create a project

lsh projects create

Delete a project

lsh projects destroy

Retrieve a project

lsh projects get

List projects

lsh projects list

Update a project

lsh projects update

Servers

Deploy a bare metal server

lsh servers create

Delete a server

lsh servers destroy

Get information on a server

lsh servers get

List servers

lsh servers list

Reintall a server

lsh servers reinstall

Schedule deletion

lsh servers schedule-deletion

Unschedule deletion

lsh servers unschedule-deletion

Update a server

lsh servers update

Ssh Keys

Create an SSH key

lsh ssh_keys create

Delete an SSH key

lsh ssh_keys destroy

Retrieve an SSH key

lsh ssh_keys get

List SSH keys

lsh ssh_keys list

Update an SSH key

lsh ssh_keys update

Tags

Create a Tag

lsh tags create

Delete Tag

lsh tags destroy

List all Tags

lsh tags list

Update Tag

lsh tags update

Virtual Networks

Creates a virtual network

lsh virtual_networks create

Delete a virtual network

lsh virtual_networks destroy

Retrieve a virtual network

lsh virtual_networks get

List virtual networks

lsh virtual_networks list

Update a virtual network

lsh virtual_networks update

Virtual Networks Assignments

Assign a server to a virtual network

lsh assignments virtual_networks create

Unassign a server from a virtual network

lsh assignments virtual_networks destroy

List assignments

lsh assignments virtual_networks list

Help

  • Use lsh -h to get a list of all available commands
  • To see how to use a command, use lsh <resource> -h