| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### **Compute Unit Value**: `10` (fixed)  [Skip link to `object Object`,: ,`object Object`, (fixed)](https://docs.blockdaemon.com/reference/update-variable#compute-unit-value-10-fixed)

| Field          | Type    | Required | Description                            |
| -------------- | ------- | -------- | -------------------------------------- |
| id             | uuid    | required | ID of the variable to update           |
| name           | string  | required | The unique name of the variable.       |
| description    | string  | optional | Optional description of the variable.  |
| type           | string  | required | The data type of the variable.        |
|                | enum    |          | Allowed: `number`, `bool`, `string`  |

## Responses

### `200` Variable updated

### `default` Unexpected error

```shell
curl --request PUT \
     --url https://svc.blockdaemon.com/streaming/v2/variables/id \
     --header 'accept: application/json' \
     --header 'authorization: Bearer ••••' \
     --header 'content-type: application/json' \
     --data '{"type":"number"}'
```

```json
{"status":"200"}
```
