> For the complete documentation index, see [llms.txt](https://api-docs.vaultoro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.vaultoro.com/update-terms-version.md).

# Update Terms Version

## Update User

<mark style="color:purple;">`PATCH`</mark> `https://api.vaultoro.com/v1/user`

This endpoint allows you to get free cakes.

#### Headers

| Name          | Type   | Description |
| ------------- | ------ | ----------- |
| Authorization | string | Bearer xxx  |

#### Request Body

| Name         | Type    | Description                             |
| ------------ | ------- | --------------------------------------- |
| termsVersion | integer | The terms version that wanted to be set |
| action       | string  | specify the action as setTermsVersion   |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Ain't no cake like that."}
```

{% endtab %}
{% endtabs %}
