删除OEM用户
正式环境
https://accounts.zwsoft.cn
正式环境
https://accounts.zwsoft.cn
DELETE
/api/v1.0/oem/users/delete
最后修改时间:2022-11-29 03:34:16
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Authorization
string
必需
示例值:
Bearer eyJhbGciB5DZtTWYVqa9A
Body 参数application/json
array[string]
用户GUID列表
示例
[
"bb474593-f215-4e07-8a20-6468b164249b"
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://accounts.zwsoft.cn/api/v1.0/oem/users/delete' \
--header 'Authorization: Bearer eyJhbGciB5DZtTWYVqa9A' \
--header 'Content-Type: application/json' \
--data-raw '[
"bb474593-f215-4e07-8a20-6468b164249b"
]'
返回响应
🟢200成功
application/json
Body
status
integer
返回码
message
string
错误详细信息
error
string | null
错误代号
data
array [object {2}]
返回数据
error
object | null
错误信息
userInfo
用户信息
示例
{
"status": 0,
"message": "success",
"error": null,
"data": [
[
{
"error": null,
"userInfo": {
"guid": "bb474593-f215-4e07-8a20-6468b164249b",
"firstName": "-",
"lastName": "-",
"displayName": "zEwH7ytg7x",
"profileImage": "https://test.resources.zwsoft.cn/prd/ZwsoftAccounts/public/userHeadImg/5Wonq1S_eBVAJD8uZnO-eukQHKNdquT2-SEUiUCbNdOci2WSpeRY6MSKB3v0RGhe/originalPic.png?v=1653030383",
"preferredLanguage": "zh-CN",
"userName": "zEwH7ytg7x",
"phone": null,
"email": null,
"itc": null,
"accountState": "Normal"
}
}
]
]
}
修改于 2022-11-29 03:34:16