Skip to content
Belikhun edited this page Jan 16, 2019 · 4 revisions

/edit - Thay đổi thông tin tài khoản

HTTP/1.1 POST /api/edit

  • Permission: everyone
  • Require Logged In: true
  • Require Enabled: true

Parameter:

Field Method Type Description Required
n POST string Tên
p POST string Mật khẩu
np POST string Mật khẩu mới * (nếu có p)
rnp POST string Nhập lại mk mới * (nếu có p)
token POST string API Token *

Example:

{
	"code": 0,
	"status": 200,
	"description": "Thay đổi thông tin thành công!",
	"user": "admin",
	"data": [],
	"runtime": 0.10948896408081055
}

Clone this wiki locally