relinquish admin
开发中DELETE
/games/{id}/adminWARNING: The game without admin will be deleted.
By default, the operation will be prevented if the user is the only admin.
Assign force
true to ignoring this issue.
请求参数
Path Params
id
integer
required
Body Params application/json
force
boolean
optional
Default:
false
Example
{
"force": "false"
}
示例代码
Responses
OK(200)
Unprocessable Content(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Modified at 9 个月前