创建圈子
POST /circles
创建一个圈子。
API 端点 URL
https://api.mixin.one/circles
请求体
{
"name": "the circle's name",
}
请求示例
curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/circles --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"
}