Update a user.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/users/{user} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSet": "<unknown>",
"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,
"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",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"neo4jId": "<string>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSet": "<unknown>",
"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,
"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,
"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>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/users/{user}"
payload = {
"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>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSet": "<unknown>",
"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,
"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",
"onlyUse": True,
"tab": "<string>",
"name": "<string>"
},
"neo4jId": "<string>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSet": "<unknown>",
"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,
"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,
"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>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
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>',
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>',
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: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSetId: '<string>',
neo4jId: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSet: '<unknown>',
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,
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',
onlyUse: true,
tab: '<string>',
name: '<string>'
},
neo4jId: '<string>',
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: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSetId: '<string>',
neo4jId: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSet: '<unknown>',
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,
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,
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>'
}
],
records: '<string>',
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/users/{user}', 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/{user}",
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>',
'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>',
'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' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSetId' => '<string>',
'neo4jId' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSet' => '<unknown>',
'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,
'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',
'onlyUse' => true,
'tab' => '<string>',
'name' => '<string>'
],
'neo4jId' => '<string>',
'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' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSetId' => '<string>',
'neo4jId' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSet' => '<unknown>',
'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,
'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,
'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>'
]
],
'records' => '<string>',
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]),
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/{user}"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\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/{user}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/users/{user}")
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 \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\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
PUT
/
api
/
v1
/
internal
/
users
/
{user}
Update a user.
curl --request PUT \
--url https://{subdomain}.logicgate.com/api/v1/internal/users/{user} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSet": "<unknown>",
"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,
"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",
"onlyUse": true,
"tab": "<string>",
"name": "<string>"
},
"neo4jId": "<string>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": true,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"permissionSet": "<unknown>",
"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,
"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,
"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>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/internal/users/{user}"
payload = {
"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>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSet": "<unknown>",
"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,
"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",
"onlyUse": True,
"tab": "<string>",
"name": "<string>"
},
"neo4jId": "<string>",
"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": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSetId": "<string>",
"neo4jId": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"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,
"uxriEnabled": True,
"shortCode": "<string>",
"defaultHomeScreen": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
},
"workflowType": "<string>",
"contains": "<unknown>",
"canSelect": "<unknown>"
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"permissionSet": "<unknown>",
"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,
"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,
"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>"
}
],
"records": "<string>",
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
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>',
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>',
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: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSetId: '<string>',
neo4jId: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSet: '<unknown>',
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,
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',
onlyUse: true,
tab: '<string>',
name: '<string>'
},
neo4jId: '<string>',
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: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSetId: '<string>',
neo4jId: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
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,
uxriEnabled: true,
shortCode: '<string>',
defaultHomeScreen: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
},
workflowType: '<string>',
contains: '<unknown>',
canSelect: '<unknown>'
},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
permissionSet: '<unknown>',
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,
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,
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>'
}
],
records: '<string>',
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/internal/users/{user}', 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/{user}",
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>',
'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>',
'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' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSetId' => '<string>',
'neo4jId' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSet' => '<unknown>',
'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,
'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',
'onlyUse' => true,
'tab' => '<string>',
'name' => '<string>'
],
'neo4jId' => '<string>',
'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' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSetId' => '<string>',
'neo4jId' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'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,
'uxriEnabled' => true,
'shortCode' => '<string>',
'defaultHomeScreen' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
],
'workflowType' => '<string>',
'contains' => '<unknown>',
'canSelect' => '<unknown>'
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'permissionSet' => '<unknown>',
'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,
'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,
'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>'
]
],
'records' => '<string>',
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]),
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/{user}"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\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/{user}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/internal/users/{user}")
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 \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<string>\",\n \"languageTag\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"allowLocalLogin\": true,\n \"externalId\": \"<string>\",\n \"password\": \"<string>\",\n \"sendEmail\": true,\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"roles\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"superAdmin\": true,\n \"defaultRoleForNewUsers\": true,\n \"autoprovisioned\": true,\n \"externalId\": \"<string>\",\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\n ],\n \"moduleEntitlements\": [\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 \"onlyUse\": true,\n \"tab\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"neo4jId\": \"<string>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"userGroup\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n },\n \"userCount\": 123,\n \"moduleCount\": 123\n }\n ],\n \"stepPermissionSets\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"locked\": true,\n \"defaultStepPermissionSetForNewUsers\": true,\n \"permissions\": [\n {\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSetId\": \"<string>\",\n \"neo4jId\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"workflow\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"application\": {\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 \"workflowType\": \"<string>\",\n \"contains\": \"<unknown>\",\n \"canSelect\": \"<unknown>\"\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"permissionSet\": \"<unknown>\",\n \"endId\": \"<string>\",\n \"startId\": \"<string>\"\n }\n ],\n \"users\": [\n \"<unknown>\"\n ],\n \"application\": {\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 \"applicationId\": \"<string>\",\n \"userIds\": [\n \"<string>\"\n ]\n }\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 \"records\": \"<string>\",\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\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
- Option 1
- Option 2
- Option 3
- Option 4
Entity for storing all information pertaining to a user.
Response
200 - application/json
OK
- Option 1
- Option 2
- Option 3
- Option 4
Entity for storing all information pertaining to a user.

