-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PAPP-34459: Update user action working
- Loading branch information
1 parent
ca06a69
commit ce2fd3f
Showing
2 changed files
with
216 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3000,6 +3000,195 @@ | |
"type": "table" | ||
}, | ||
"versions": "EQ(*)" | ||
}, | ||
{ | ||
"action": "update user", | ||
"identifier": "update_user", | ||
"description": "Update user with given id", | ||
"type": "correct", | ||
"read_only": false, | ||
"parameters": { | ||
"user_id": { | ||
"description": "ZScaler User Id", | ||
"data_type": "numeric", | ||
"required": true, | ||
"primary": true, | ||
"contains": [ | ||
"zscaler user id" | ||
], | ||
"example_values": [ | ||
889814 | ||
], | ||
"order": 0 | ||
}, | ||
"user": { | ||
"description": "JSON object containing the user details (see https://help.zscaler.com/zia/user-management#/users/{userId}-put)", | ||
"data_type": "string", | ||
"primary": true, | ||
"order": 1 | ||
} | ||
}, | ||
"output": [ | ||
{ | ||
"data_path": "action_result.status", | ||
"data_type": "string", | ||
"column_name": "Status", | ||
"column_order": 2, | ||
"example_values": [ | ||
"test success", | ||
"test failed" | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.parameter.user", | ||
"data_type": "string", | ||
"column_name": "User", | ||
"column_order": 1 | ||
}, | ||
{ | ||
"data_path": "action_result.parameter.user_id", | ||
"data_type": "numeric", | ||
"contains": [ | ||
"zscaler user id" | ||
], | ||
"column_name": "User ID", | ||
"column_order": 0, | ||
"example_values": [ | ||
889814 | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.adminUser", | ||
"data_type": "boolean", | ||
"example_values": [ | ||
true, | ||
false | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.comments", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test This is test user" | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.deleted", | ||
"data_type": "boolean", | ||
"example_values": [ | ||
true, | ||
false | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.department.id", | ||
"data_type": "numeric", | ||
"example_values": [ | ||
81896690 | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.department.name", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test IT" | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.email", | ||
"data_type": "string", | ||
"contains": [ | ||
"email" | ||
], | ||
"example_values": [ | ||
"test [email protected]" | ||
], | ||
"column_name": "User Email", | ||
"column_order": 2 | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.groups.*.id", | ||
"data_type": "numeric", | ||
"contains": [ | ||
"zscaler group id" | ||
], | ||
"example_values": [ | ||
8894813 | ||
], | ||
"column_name": "Group ID", | ||
"column_order": 3 | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.groups.*.name", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test Super Admin" | ||
], | ||
"column_name": "Group Name", | ||
"column_order": 4 | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.id", | ||
"data_type": "numeric", | ||
"contains": [ | ||
"zscaler user id" | ||
], | ||
"example_values": [ | ||
889814 | ||
], | ||
"column_name": "User ID", | ||
"column_order": 0 | ||
}, | ||
{ | ||
"data_path": "action_result.data.*.name", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test First Last" | ||
], | ||
"column_name": "User Name", | ||
"column_order": 1 | ||
}, | ||
{ | ||
"data_path": "action_result.summary", | ||
"data_type": "string" | ||
}, | ||
{ | ||
"data_path": "action_result.summary.message", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test User removed from group" | ||
] | ||
}, | ||
{ | ||
"data_path": "action_result.message", | ||
"data_type": "string", | ||
"example_values": [ | ||
"test User removed from group" | ||
] | ||
}, | ||
{ | ||
"data_path": "summary.message", | ||
"data_type": "string" | ||
}, | ||
{ | ||
"data_path": "summary.total_objects", | ||
"data_type": "numeric", | ||
"example_values": [ | ||
1 | ||
] | ||
}, | ||
{ | ||
"data_path": "summary.total_objects_successful", | ||
"data_type": "numeric", | ||
"example_values": [ | ||
1 | ||
] | ||
} | ||
], | ||
"render": { | ||
"type": "table" | ||
}, | ||
"versions": "EQ(*)" | ||
} | ||
], | ||
"pip_dependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters