更新圈子信息
POST /circles/:id
修改圈子名称。
API 端点 URL
https://api.mixin.one/circles/:id
请求体
{
"name": "the circle's name",
}
请求示例
curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/circles/a465ffdb-4441-4cb9-8b45-00cf79dfbc46 --data '{"name": "Circle Name"}'
Response
{
"type": "circle",
"circle_id": "a465ffdb-4441-4cb9-8b45-00cf79dfbc46",
"name": "Circle Name",
"created_at": "2018-05-29T09:31:04.202186212Z"
}