setCircleFeedPref
# setCircleFeedPref
PUT
/circles/{circleId}/feed-pref
const url = 'http://localhost:8080/api/v1/circles/per_01j9x3k8m2q4r5s6t7v8w9y0z1/feed-pref';const options = { method: 'PUT', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"inFeed":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://localhost:8080/api/v1/circles/per_01j9x3k8m2q4r5s6t7v8w9y0z1/feed-pref \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "inFeed": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”circleId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
inFeed
required
boolean
Example generated
{ "inFeed": true}Responses
Section titled “Responses”Saved for the current member.