> ## Documentation Index
> Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

## General

**Set your Auth Token**

```shell theme={null}
lsh login
```

**Update the CLI to latest version**

```shell theme={null}
lsh update
```

## Api Keys

**Create an API Key**

```shell theme={null}
lsh api_keys create
```

**Delete an API Key**

```shell theme={null}
lsh api_keys destroy
```

**List API Keys**

```shell theme={null}
lsh api_keys list
```

**Update an API Key**

```shell theme={null}
lsh api_keys update
```

## Help

## Plans

**Retrieve information of a plan**

```shell theme={null}
lsh plans get
```

**List available plans**

```shell theme={null}
lsh plans list
```

**List bandwidth package plans**

```shell theme={null}
lsh plans list-bandwidth
```

**Show per-location plan availability and stock level**

```shell theme={null}
lsh plans stock
```

## Projects

**Create a project**

```shell theme={null}
lsh projects create
```

**Delete a project**

```shell theme={null}
lsh projects destroy
```

**Retrieve a project**

```shell theme={null}
lsh projects get
```

**List projects**

```shell theme={null}
lsh projects list
```

**Update a project**

```shell theme={null}
lsh projects update
```

## Servers

**Deploy a bare metal server**

```shell theme={null}
lsh servers create
```

**Delete a server**

```shell theme={null}
lsh servers destroy
```

**Get information on a server**

```shell theme={null}
lsh servers get
```

**List servers**

```shell theme={null}
lsh servers list
```

**Reintall a server**

```shell theme={null}
lsh servers reinstall
```

**Schedule deletion**

```shell theme={null}
lsh servers schedule-deletion
```

**Unschedule deletion**

```shell theme={null}
lsh servers unschedule-deletion
```

**Update a server**

```shell theme={null}
lsh servers update
```

## Ssh Keys

**Create an SSH key**

```shell theme={null}
lsh ssh_keys create
```

**Delete an SSH key**

```shell theme={null}
lsh ssh_keys destroy
```

**Retrieve an SSH key**

```shell theme={null}
lsh ssh_keys get
```

**List SSH keys**

```shell theme={null}
lsh ssh_keys list
```

**Update an SSH key**

```shell theme={null}
lsh ssh_keys update
```

## Tags

**Create a Tag**

```shell theme={null}
lsh tags create
```

**Delete Tag**

```shell theme={null}
lsh tags destroy
```

**List all Tags**

```shell theme={null}
lsh tags list
```

**Update Tag**

```shell theme={null}
lsh tags update
```

## Virtual Networks

**Creates a virtual network**

```shell theme={null}
lsh virtual_networks create
```

**Delete a virtual network**

```shell theme={null}
lsh virtual_networks destroy
```

**Retrieve a virtual network**

```shell theme={null}
lsh virtual_networks get
```

**List virtual networks**

```shell theme={null}
lsh virtual_networks list
```

**Update a virtual network**

```shell theme={null}
lsh virtual_networks update
```

## Virtual Networks Assignments

**Assign a server to a virtual network**

```shell theme={null}
lsh assignments virtual_networks create
```

**Unassign a server from a virtual network**

```shell theme={null}
lsh assignments virtual_networks destroy
```

**List assignments**

```shell theme={null}
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`
