- sso
- admin
- applications
- auth
- auth-eth
- access
- newsletter
- user
- wallet
- Get API versionGET
account-suspend
POST
/admin/account/suspend
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{token}}
Body 参数application/json
userId
integer
必需
reason
string
必需
示例
{
"userId": 2,
"reason":"whatever the reason"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sso.gameown.io/api/admin/account/suspend' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": 2,
"reason":"whatever the reason"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-03-16 14:04:33