> 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/powerwalls/commands.md).

# Commands

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

## Battery Backup Reserve

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

#### Path Parameters

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

#### Headers

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

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

```
```

{% endtab %}
{% endtabs %}

## Battery Site Name

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

#### Path Parameters

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

#### Headers

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

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

```
```

{% endtab %}
{% endtabs %}

## Battery Operation Mode

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

#### Path Parameters

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

#### Headers

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

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

```
```

{% endtab %}
{% endtabs %}
