直达内容

更新圈子信息

POST /circles/:id

修改圈子名称。

API 端点 URL

 https://api.mixin.one/circles/:id

授权和其他选项

授权
CIRCLES:WRITE
限制No limitation

参数

id
*必须
The ID of circle.

请求体

{
"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"
}