Enable or disable one news source
PATCH
/api/news/sourcesAuthorization
AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key:Bearer <key>.
Body
enabledbooleanrequiredsourceIdstringrequired
Response fields
sourceobjectrequiredavailablebooleanrequiredenabledbooleanrequirediconstringrequiredidstringrequirednamestringrequired
Responses
- 200Success
- 400Invalid request
- 401Missing or invalid API key
- 403The authenticated account cannot use this capability
- 409The source is not currently available
- 500The request could not be completed