解绑手机号
测试中POST
/api/v2/users/phone/unbind-by-code请求参数
Header 参数
x-authing-userpool-id
string
用户池 ID
示例值:
61b95d6c96d42670da568408
Authorization
string
Token
示例值:
Bearer sdfdsfdsfsdf
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
thirdPartyIdentity
object
必需
id
string
必需
createdAt
string
必需
updatedAt
string
必需
userPoolId
string
必需
isRoot
boolean
必需
status
string
必需
oauth
null
必需
email
string
必需
phone
null
必需
username
null
必需
unionid
null
必需
openid
null
必需
nickname
string
必需
company
null
必需
photo
string
必需
browser
string
必需
device
string
必需
password
string
必需
salt
string
必需
loginsCount
integer
必需
lastIp
string
必需
name
null
必需
givenName
null
必需
familyName
null
必需
middleName
null
必需
profile
null
必需
preferredUsername
null
必需
website
null
必需
gender
string
必需
birthdate
null
必需
zoneinfo
null
必需
locale
null
必需
address
null
必需
formatted
null
必需
streetAddress
null
必需
locality
null
必需
region
null
必需
postalCode
null
必需
city
null
必需
province
null
必需
country
null
必需
registerSource
array[string]
必需
secretInfo
null
必需
emailVerified
boolean
必需
phoneVerified
boolean
必需
lastLogin
string
必需
blocked
boolean
必需
isDeleted
boolean
必需
sendSmsCount
integer
必需
sendSmsLimitCount
integer
必需
encryptedPassword
string
必需
signedUp
string
必需
externalId
null
必需
mainDepartmentId
null
必需
mainDepartmentCode
null
必需
lastMfaTime
null
必需
passwordSecurityLevel
integer
必需
resetPasswordOnFirstLogin
boolean
必需
syncExtInfo
null
必需
phoneCountryCode
string
必需
lastIP
string
必需
token
string
必需
tokenExpiredAt
string
必需
identities
array[string]
必需
positions
array[string]
必需
arn
string
必需
示例
{
"code": 200,
"message": "解绑成功",
"data": {
"thirdPartyIdentity": {
"provider": null,
"refreshToken": null,
"accessToken": null,
"scope": null,
"expiresIn": null,
"updatedAt": null
},
"id": "61c3e3f83b5bd05c18b18047",
"createdAt": "2021-12-23T02:50:32.787Z",
"updatedAt": "2021-12-29T08:25:10.145Z",
"userPoolId": "61503af14d630037e58dd471",
"isRoot": false,
"status": "Activated",
"oauth": null,
"email": "2303sd6241@qq.com",
"phone": null,
"username": null,
"unionid": null,
"openid": null,
"nickname": "测试修改",
"company": null,
"photo": "https://files.authing.co/authing-console/default-user-avatar.png",
"browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36",
"device": "Mac OS",
"password": "da28d57e007a581ad6669f490e6e37c8",
"salt": "dh4l8k388lc6",
"loginsCount": 7,
"lastIp": "::1",
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"locale": null,
"address": null,
"formatted": null,
"streetAddress": null,
"locality": null,
"region": null,
"postalCode": null,
"city": null,
"province": null,
"country": null,
"registerSource": [
"basic:email"
],
"secretInfo": null,
"emailVerified": false,
"phoneVerified": false,
"lastLogin": "2021-12-29T02:42:29.461Z",
"blocked": false,
"isDeleted": false,
"sendSmsCount": 0,
"sendSmsLimitCount": 1000,
"encryptedPassword": "pFfMSl4+UX8DN61MVpsiovAMtGzWf7d/LJL1cx3XG9B+GXWLAdW0eUexGiG29LJNFK9xa4FkHNy5nfTXrvrjoCyDLhcNPQ7JIwovAan/RnTNY0zLHEFbpV02pCiDmU6qqDmQ2zo4MG4hWu/TwPIyRFyx/s8YwpXyisYuFvoiGsI=",
"signedUp": "2021-12-23T02:50:32.787Z",
"externalId": null,
"mainDepartmentId": null,
"mainDepartmentCode": null,
"lastMfaTime": null,
"passwordSecurityLevel": 1,
"resetPasswordOnFirstLogin": false,
"syncExtInfo": null,
"phoneCountryCode": "+86",
"lastIP": "::1",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InR5cGUiOiJ1c2VyIiwidXNlclBvb2xJZCI6IjYxNTAzYWYxNGQ2MzAwMzdlNThkZDQ3MSIsImFwcElkIjpudWxsLCJhcm4iOiJhcm46Y246YXV0aGluZzo2MTUwM2FmMTRkNjMwMDM3ZTU4ZGQ0NzE6dXNlcjo2MWMzZTNmODNiNWJkMDVjMThiMTgwNDciLCJpZCI6IjYxYzNlM2Y4M2I1YmQwNWMxOGIxODA0NyIsInVzZXJJZCI6IjYxYzNlM2Y4M2I1YmQwNWMxOGIxODA0NyIsIl9pZCI6IjYxYzNlM2Y4M2I1YmQwNWMxOGIxODA0NyIsInBob25lIjoiMTc2NjkzMjIyMzUiLCJlbWFpbCI6bnVsbCwidXNlcm5hbWUiOm51bGwsInVuaW9uaWQiOm51bGwsIm9wZW5pZCI6bnVsbCwiY2xpZW50SWQiOiI2MTUwM2FmMTRkNjMwMDM3ZTU4ZGQ0NzEifSwiaWF0IjoxNjQwNzY1OTM5LCJleHAiOjE2NDIwNjE5Mzl9.V9Zw8oBSnAIS_zTUjA7qNjGeXBudqCNUHxcnIeL9m_s",
"tokenExpiredAt": "2022-01-13T08:18:59.133Z",
"identities": [],
"positions": [],
"arn": "arn:cn:authing:61503af14d630037e58dd471:user:61c3e3f83b5bd05c18b18047"
}
}
最后修改时间: 3 年前