Skip to main content
PUT
Rename a Stream Source
Renames one of the authenticated user’s stream sources and returns the updated source. :id is the source id (19 digits) from Get Sources. Only name can be updated; any other body field returns 400. This route replaces the deprecated Update Stream Source (PUT /2/users/:user_id/sources/:source_id); see the migration guide.

Errors

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Source id (19 digits), from GET /2/sources.

Body

application/json
name
string
required

New label for the source.

Minimum string length: 1

Response

The request has succeeded.

data
object
errors
object[]