| 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)   [Compute Unit Value Details](https://docs.blockdaemon.com/reference/patch-target#compute-unit-value-10-fixed)

### Target Update Structure

- **id**  
  - **uuid**  
  - required  
  - ID of target to fetch

- **name**  
  - string  
  - New name for the target

- **description**  
  - string  
  - Optional updated description of the target

- **status**  
  - string  
  - enum  
  - Updated status of the target  
    - allowed values: `disconnected`, `active`, `failed`

- **type**  
  - string  
  - enum  
  - The type of target to update. If changed, settings should match the new type  
    - allowed values: `webhook`, `websocket`

- **max_buffer_count**  
  - integer  
  - Range: 100 to 10000  
  - Maximum number of events that can be buffered before delivery

- **settings**  
  - Webhook Settings | WebSocket Settings | Email Settings  
  - Updated settings specific to the target type

# Responses

# `200`      Target updated

# `default`      Unexpected error

#### Example Request

```bash
curl --request PATCH \
     --url https://svc.blockdaemon.com/streaming/v2/targets/id \
     --header 'accept: application/json' \
     --header 'authorization: Bearer ••••' \
     --header 'content-type: application/json'
```

#### Responses

- application/json  
  - `200`  
  - `default`

* * *
