curl --request GET \
--url https://api.unibee.top/merchant/auth/sso/oauth/members \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"merchantMembers": [
{
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"currentDeviceIdentity": "<string>",
"deviceList": [
{
"currentDevice": true,
"identity": "<string>",
"ipAddress": "<string>",
"lastActiveTime": 123,
"lastLoginTime": 123,
"lastTotpVerificationTime": 123,
"name": "<string>",
"status": true
}
],
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"oauthAccounts": [
{
"email": "<string>",
"emailVerified": true,
"image": "<string>",
"name": "<string>",
"provider": "<string>",
"providerId": "<string>"
}
],
"status": 123,
"totpType": 123
}
]
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Merchant Get Oauth Connected Members. Pass OAuth token in request header (Auth.js JWT). Headers: X-Auth-JS-Token | X-Auth-Token | X-OAuth-Token
curl --request GET \
--url https://api.unibee.top/merchant/auth/sso/oauth/members \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"merchantMembers": [
{
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"currentDeviceIdentity": "<string>",
"deviceList": [
{
"currentDevice": true,
"identity": "<string>",
"ipAddress": "<string>",
"lastActiveTime": 123,
"lastLoginTime": 123,
"lastTotpVerificationTime": 123,
"name": "<string>",
"status": true
}
],
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"oauthAccounts": [
{
"email": "<string>",
"emailVerified": true,
"image": "<string>",
"name": "<string>",
"provider": "<string>",
"providerId": "<string>"
}
],
"status": 123,
"totpType": 123
}
]
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.