---
title: "Updates the details of a single stream view"
method: PUT
path: "/v1/accounts/{accountSid}/buckets/{bucketSid}/streamViews/{streamViewSid}"
tags: ["Stream Views"]
---

# Updates the details of a single stream view

`PUT /v1/accounts/{accountSid}/buckets/{bucketSid}/streamViews/{streamViewSid}`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/buckets/{bucketSid}/streamViews/{streamViewSid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/buckets/:bucketSid/streamViews/:streamViewSid/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountSid` string, required: accountSid
- `bucketSid` string, required: bucketSid
- `streamViewSid` string, required: streamViewSid

## Request body

- Model40
  - `name` string, required: The name of the stream view
  - `criteria` string, required: The search criteria for the stream view
  - `icon` 'search' | 'star' | 'alert' | 'check' | 'bolt' | 'bookmark' | 'flag' | 'heart': The icon associated with the stream view.

## Response `200`

Successful

- Stream20View (unresolved $ref)

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation.md) - [All operations](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/revisions/b2a22a9b5c98?raw)
