> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Stream Source

> PUT /2/users/:user_id/sources/:source_id renames a stream source. Only the name can be updated.

Only the `name` can be updated.

**Endpoint:** `PUT /2/users/:user_id/sources/:source_id`

## Request body

```json theme={null}
{
  "name": "Updated Encoder Name"
}
```

## Response

The updated source object (wrapped in `"source"`).
