Update a user from a user modal request.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"first": "<string>",
"last": "<string>",
"email": "<string>",
"company": "<string>",
"languageTag": "<string>",
"imageUrl": "<string>",
"timeZone": "<string>",
"sendEmail": true,
"mfaEnabled": true,
"lastLogin": {
"created": "2023-11-07T05:31:56Z"
},
"autoprovisioned": true,
"status": "<string>",
"allowLocalLogin": true,
"roleIds": [
"<string>"
],
"stepPermissionSetIds": [
"<string>"
],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"neo4jId": "<string>",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroupIds": [
"<string>"
]
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal"
payload = {
"id": "<string>",
"first": "<string>",
"last": "<string>",
"email": "<string>",
"company": "<string>",
"languageTag": "<string>",
"imageUrl": "<string>",
"timeZone": "<string>",
"sendEmail": True,
"mfaEnabled": True,
"lastLogin": { "created": "2023-11-07T05:31:56Z" },
"autoprovisioned": True,
"status": "<string>",
"allowLocalLogin": True,
"roleIds": ["<string>"],
"stepPermissionSetIds": ["<string>"],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": True,
"imported": True,
"copied": True,
"live": True,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"neo4jId": "<string>",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroupIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
first: '<string>',
last: '<string>',
email: '<string>',
company: '<string>',
languageTag: '<string>',
imageUrl: '<string>',
timeZone: '<string>',
sendEmail: true,
mfaEnabled: true,
lastLogin: {created: '2023-11-07T05:31:56Z'},
autoprovisioned: true,
status: '<string>',
allowLocalLogin: true,
roleIds: ['<string>'],
stepPermissionSetIds: ['<string>'],
applicationEntitlements: [
{
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
createdBy: '<unknown>',
description: '<string>',
color: '<string>',
icon: 'fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle',
type: '<string>',
sourceApplicationId: '<string>',
sourceEnvironment: '<string>',
permissionsEnabled: true,
imported: true,
copied: true,
live: true,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
neo4jId: '<string>',
endId: '<string>',
startId: '<string>'
}
],
userGroupIds: ['<string>']
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'first' => '<string>',
'last' => '<string>',
'email' => '<string>',
'company' => '<string>',
'languageTag' => '<string>',
'imageUrl' => '<string>',
'timeZone' => '<string>',
'sendEmail' => true,
'mfaEnabled' => true,
'lastLogin' => [
'created' => '2023-11-07T05:31:56Z'
],
'autoprovisioned' => true,
'status' => '<string>',
'allowLocalLogin' => true,
'roleIds' => [
'<string>'
],
'stepPermissionSetIds' => [
'<string>'
],
'applicationEntitlements' => [
[
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'createdBy' => '<unknown>',
'description' => '<string>',
'color' => '<string>',
'icon' => 'fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle',
'type' => '<string>',
'sourceApplicationId' => '<string>',
'sourceEnvironment' => '<string>',
'permissionsEnabled' => true,
'imported' => true,
'copied' => true,
'live' => true,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'neo4jId' => '<string>',
'endId' => '<string>',
'startId' => '<string>'
]
],
'userGroupIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<string>",
"languageTag": "<string>",
"timeZone": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"allowLocalLogin": true,
"externalId": "<string>",
"password": "<string>",
"sendEmail": true,
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"roles": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"superAdmin": true,
"defaultRoleForNewUsers": true,
"autoprovisioned": true,
"externalId": "<string>",
"stepPermissionSets": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"defaultStepPermissionSetForNewUsers": true,
"permissions": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"operationType": "READ",
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"users": [
"<unknown>"
],
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"applicationId": "<string>",
"userIds": [
"<string>"
]
}
],
"moduleEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"value": "A_ASSIGN",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"module": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"value": "A_ASSIGN",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"operationType": "READ",
"neo4jId": "<string>",
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroup": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
},
"userCount": 123,
"moduleCount": 123
}
],
"stepPermissionSets": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"defaultStepPermissionSetForNewUsers": true,
"permissions": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"operationType": "READ",
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"users": [
"<unknown>"
],
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"applicationId": "<string>",
"userIds": [
"<string>"
]
}
],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"operationType": "READ",
"neo4jId": "<string>",
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"workEmailSummary": "ENABLED",
"aecFailedJobSummary": "NOT_SET",
"recordCommentNotifications": "ENABLED",
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}User
Update a user from a user modal request
PUT
/
api
/
v1
/
internal
/
users
/
admin-modal
Update a user from a user modal request.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"first": "<string>",
"last": "<string>",
"email": "<string>",
"company": "<string>",
"languageTag": "<string>",
"imageUrl": "<string>",
"timeZone": "<string>",
"sendEmail": true,
"mfaEnabled": true,
"lastLogin": {
"created": "2023-11-07T05:31:56Z"
},
"autoprovisioned": true,
"status": "<string>",
"allowLocalLogin": true,
"roleIds": [
"<string>"
],
"stepPermissionSetIds": [
"<string>"
],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"neo4jId": "<string>",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroupIds": [
"<string>"
]
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal"
payload = {
"id": "<string>",
"first": "<string>",
"last": "<string>",
"email": "<string>",
"company": "<string>",
"languageTag": "<string>",
"imageUrl": "<string>",
"timeZone": "<string>",
"sendEmail": True,
"mfaEnabled": True,
"lastLogin": { "created": "2023-11-07T05:31:56Z" },
"autoprovisioned": True,
"status": "<string>",
"allowLocalLogin": True,
"roleIds": ["<string>"],
"stepPermissionSetIds": ["<string>"],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": True,
"imported": True,
"copied": True,
"live": True,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"neo4jId": "<string>",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroupIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
first: '<string>',
last: '<string>',
email: '<string>',
company: '<string>',
languageTag: '<string>',
imageUrl: '<string>',
timeZone: '<string>',
sendEmail: true,
mfaEnabled: true,
lastLogin: {created: '2023-11-07T05:31:56Z'},
autoprovisioned: true,
status: '<string>',
allowLocalLogin: true,
roleIds: ['<string>'],
stepPermissionSetIds: ['<string>'],
applicationEntitlements: [
{
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
name: '<string>',
createdBy: '<unknown>',
description: '<string>',
color: '<string>',
icon: 'fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle',
type: '<string>',
sourceApplicationId: '<string>',
sourceEnvironment: '<string>',
permissionsEnabled: true,
imported: true,
copied: true,
live: true,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
neo4jId: '<string>',
endId: '<string>',
startId: '<string>'
}
],
userGroupIds: ['<string>']
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'first' => '<string>',
'last' => '<string>',
'email' => '<string>',
'company' => '<string>',
'languageTag' => '<string>',
'imageUrl' => '<string>',
'timeZone' => '<string>',
'sendEmail' => true,
'mfaEnabled' => true,
'lastLogin' => [
'created' => '2023-11-07T05:31:56Z'
],
'autoprovisioned' => true,
'status' => '<string>',
'allowLocalLogin' => true,
'roleIds' => [
'<string>'
],
'stepPermissionSetIds' => [
'<string>'
],
'applicationEntitlements' => [
[
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'createdBy' => '<unknown>',
'description' => '<string>',
'color' => '<string>',
'icon' => 'fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle',
'type' => '<string>',
'sourceApplicationId' => '<string>',
'sourceEnvironment' => '<string>',
'permissionsEnabled' => true,
'imported' => true,
'copied' => true,
'live' => true,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'neo4jId' => '<string>',
'endId' => '<string>',
'startId' => '<string>'
]
],
'userGroupIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/users/admin-modal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"sendEmail\": true,\n \"mfaEnabled\": true,\n \"lastLogin\": {\n \"created\": \"2023-11-07T05:31:56Z\"\n },\n \"autoprovisioned\": true,\n \"status\": \"<string>\",\n \"allowLocalLogin\": true,\n \"roleIds\": [\n \"<string>\"\n ],\n \"stepPermissionSetIds\": [\n \"<string>\"\n ],\n \"applicationEntitlements\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"createdBy\": \"<unknown>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle\",\n \"type\": \"<string>\",\n \"sourceApplicationId\": \"<string>\",\n \"sourceEnvironment\": \"<string>\",\n \"permissionsEnabled\": true,\n \"imported\": true,\n \"copied\": true,\n \"live\": true,\n \"uxriEnabled\": true,\n \"shortCode\": \"<string>\",\n \"defaultHomeScreen\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroupIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<string>",
"languageTag": "<string>",
"timeZone": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"allowLocalLogin": true,
"externalId": "<string>",
"password": "<string>",
"sendEmail": true,
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"roles": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"superAdmin": true,
"defaultRoleForNewUsers": true,
"autoprovisioned": true,
"externalId": "<string>",
"stepPermissionSets": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"defaultStepPermissionSetForNewUsers": true,
"permissions": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"operationType": "READ",
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"users": [
"<unknown>"
],
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"applicationId": "<string>",
"userIds": [
"<string>"
]
}
],
"moduleEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"value": "A_ASSIGN",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"module": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"value": "A_ASSIGN",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"operationType": "READ",
"neo4jId": "<string>",
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"userGroup": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
},
"userCount": 123,
"moduleCount": 123
}
],
"stepPermissionSets": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"locked": true,
"defaultStepPermissionSetForNewUsers": true,
"permissions": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"operationType": "READ",
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>"
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"users": [
"<unknown>"
],
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"applicationId": "<string>",
"userIds": [
"<string>"
]
}
],
"applicationEntitlements": [
{
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"createdBy": "<unknown>",
"description": "<string>",
"color": "<string>",
"icon": "fa-bookmark, fa-bolt, fa-bullhorn, fa-certificate,fa-check-square-o, fa-cloud, fa-comments, fa-dollar, fa-exclamation-triangle, fa-file-text-o,fa-folder, fa-gift, fa-globe, fa-heartbeat, fa-leaf, fa-legal, fa-life-ring, fa-medkit, fa-money,fa-percent, fa-rocket, fa-signal, fa-university, fa-user-circle",
"type": "<string>",
"sourceApplicationId": "<string>",
"sourceEnvironment": "<string>",
"permissionsEnabled": true,
"imported": true,
"copied": true,
"live": true,
"currency": "EUR",
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"operationType": "READ",
"neo4jId": "<string>",
"type": "STEP_PERMISSION",
"endId": "<string>",
"startId": "<string>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"workEmailSummary": "ENABLED",
"aecFailedJobSummary": "NOT_SET",
"recordCommentNotifications": "ENABLED",
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}Authorizations
ApiTokenbasic
Body
application/json
Response
200 - application/json
OK
- Option 1
- Option 2
- Option 3
- Option 4
Entity for storing all information pertaining to a user.

