Users
Last updated
Last updated
OK
const response = await fetch('//api/users', {
method: 'PUT',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"message": "text",
"data": {
"id": "text",
"orgAndRoles": [
{
"org": {
"id": "text",
"createdBy": "text",
"name": "text",
"isAutoGeneratedOrganization": false,
"contactName": "text",
"contactEmail": "text",
"contactPhoneNumber": "text",
"source": "text",
"thirdPartyCompanyId": "text",
"state": "ACTIVE",
"organizationDomain": {
"domain": "text",
"configs": [
{
"id": "text",
"source": "text",
"sourceName": "text",
"enable": false,
"enableRegister": false,
"authType": "text"
}
]
},
"commonSettings": {
"empty": false
},
"logoUrl": "text",
"authConfigs": [
{
"id": "text",
"source": "text",
"sourceName": "text",
"enable": false,
"enableRegister": false,
"authType": "text"
}
]
},
"role": "text"
}
],
"currentOrgId": "text",
"username": "text",
"connections": [
{
"authId": "text",
"source": "text",
"rawId": "text",
"name": "text",
"avatar": "text",
"authConnectionAuthToken": {
"accessToken": "text",
"refreshToken": "text",
"refreshTokenExpired": false,
"accessTokenExpired": false
},
"tokens": [
"text"
]
}
],
"avatar": "text",
"avatarUrl": "text",
"hasPassword": false,
"hasSetNickname": false,
"hasShownNewUserGuidance": false,
"ip": "text",
"enabled": false,
"orgDev": false,
"anonymous": false,
"isAnonymous": false,
"isEnabled": false
},
"success": false
}