D黑奴背锅 文档中心
修仙 API宗门
POST/business/xiuxian/sect/leave

退出当前所在的宗门。

注意事项

  • 未加入宗门返回 code=1,message='修仙数据不存在'。
  • 宗主不可退出,返回 code=1,message='修仙角色已被限制操作'。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X POST "https://example.com/business/xiuxian/sect/leave"
{  "code": 0,  "message": "退出宗门成功",  "data": {    "user_id": "b1_p1"  },  "time": 1779502528}