Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/29/2024 06:17 AM
Hi Everyone,
Is it possible to create multiple AD groups (Bulk groups) through the following 'createrequest' API.
{{url}}/ECM/{{path}}/createrequest
Please help us with the JSON if someone configured this in their engagement.
Thank you.
Solved! Go to Solution.
07/29/2024 06:51 AM
08/27/2024 03:48 AM
Thank you Rushikesh for the inputs.
We have used the following Payload with Dynamic attributes in the Body and passed the values through a .CSV file (Refer attached file) and ran the API using Collection Runner functionality in Postman.
Request Body-
{
"accesstype": "roles",
"requestor": "SVC_API_ADMIN",
"displayname": "{{displayname}}",
"roletype": "ADGroup",
"entitlementtype": "memberOf",
"suffix": "{{suffix}}",
"description": "{{description}}",
"requesttype": "create",
"category": "Security",
"securitysystem": "Active Directory",
"endpoint": "Active Directory",
"domain": "DC=saviynt,DC=dev,DC=com",
"environment": "dev",
"application": "OU=TestGroup,DC=saviynt,DC=dev,DC=com",
"owner": [
{
"ownername": "{{ownername}}",
"rank": 1
}
],
"accounts": [
{
"accountname": "{{accountname}}",
"updatetype": "add"
}
]
}
Steps to run Collection Runner in Postman-
https://learning.postman.com/docs/collections/running-collections/intro-to-collection-runs/
Thank you.