> For the complete documentation index, see [llms.txt](https://www.teslaapi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.teslaapi.io/energy-sites/commands.md).

# Commands

{% hint style="warning" %}
Work In Progress
{% endhint %}

## Backup Reserve

<mark style="color:green;">`POST`</mark> `https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/backup`

#### Path Parameters

| Name      | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| :site\_id | integer | The `{site_id}` from the products list |

#### Headers

| Name          | Type   | Description                                 |
| ------------- | ------ | ------------------------------------------- |
| Authorization | string | Bearer `{access_token}` from authentication |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Site Name

<mark style="color:green;">`POST`</mark> `https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_name`

#### Path Parameters

| Name      | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| :site\_id | integer | The `{site_id}` from the products list |

#### Headers

| Name          | Type   | Description                                 |
| ------------- | ------ | ------------------------------------------- |
| Authorization | string | Bearer `{access_token}` from authentication |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Operation Mode

<mark style="color:green;">`POST`</mark> `https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/operation`

#### Path Parameters

| Name      | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| :site\_id | integer | The `{site_id}` from the products list |

#### Headers

| Name          | Type   | Description                                 |
| ------------- | ------ | ------------------------------------------- |
| Authorization | string | Bearer `{access_token}` from authentication |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Time Of Use Settings

<mark style="color:green;">`POST`</mark> `https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/time_of_use_settings`

#### Path Parameters

| Name      | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| :site\_id | integer | The `{site_id}` from the products list |

#### Headers

| Name          | Type   | Description                                 |
| ------------- | ------ | ------------------------------------------- |
| Authorization | string | Bearer `{access_token}` from authentication |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Storm Mode

<mark style="color:green;">`POST`</mark> `https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/storm_mode`

#### Path Parameters

| Name      | Type    | Description                            |
| --------- | ------- | -------------------------------------- |
| :site\_id | integer | The `{site_id}` from the products list |

#### Headers

| Name          | Type   | Description                                 |
| ------------- | ------ | ------------------------------------------- |
| Authorization | string | Bearer `{access_token}` from authentication |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
