reorderCircles
# reorderCircles
POST
/circles/reorder
const url = 'http://localhost:8080/api/v1/circles/reorder';const options = { method: 'POST', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"circleIds":["per_01j9x3k8m2q4r5s6t7v8w9y0z1"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/api/v1/circles/reorder \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "circleIds": [ "per_01j9x3k8m2q4r5s6t7v8w9y0z1" ] }'Sets the caller’s circle order (stored per member for household circles in a later migration; v1 stores on circle).
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
circleIds
required
Array<string>
Responses
Section titled “Responses”Reordered.