05/30/2023 01:27 PM
Hi Team,
We are unable to update/replace an inactive role owner using the API. The details are inline:
Scenario:
When current role owner status is inactive in SIGA, we are unable to replace the current owner with new owner using below API request in SIGA.
API Details:
https://ssm-dev-pmi.saviyntcloud.com/ECM/v5/updateEnterpriseRoleRequest
Method: POST
Payload:
{'roletype': 'ENTERPRISE', 'role_name': '<role_name>', 'requestor': '<username>', 'owner': [\{'rank': '1', 'ownerName': '<imdl_id of current Role owner>', 'updateType': 'REMOVE'}
, {'rank': '3', 'ownerName': '<imdl_id of current Role owner>', 'updateType': 'REMOVE'}, {'rank': '26', 'ownerName': '<imdl_id of current Role owner>', 'updateType': 'REMOVE'}, {'rank': '1', 'ownerName': '<imdl_id of new Role owner>', 'updateType': 'ADD'}, {'rank': '3', 'ownerName': '<imdl_id of new Role owner>', 'updateType': 'ADD'}, {'rank': '26', 'ownerName': '<imdl_id of new Role owner>', 'updateType': 'ADD'}]}
Response:
200 OK
{"errorCode":"0","message":" Owner Not Active. Role Updated Successfully"}
Need your support to achieve the same. We can also connect over call for discussing the issue at a time that suits you.
Regards,
Yogendra Shukla
05/31/2023 01:13 PM
Does it not remove the inactive owner or does it not even allows you to perform the ADD operation. Also, can you try to perform the actions (ADD and Remove) individually and see if it works.
06/07/2023 11:52 PM
Hi Sahil,
We tried executing the APIs individually. The results are inline:
ADD operation works and the new role owner is added successfully
Remove operation does NOT work and the INACTIVE user is not removed as the role owner. Please suggest.
Regards,
Yogendra Shukla
05/31/2023 05:41 PM
I am not able to find this API in my collection. Can you share the reference document so that I can check?
06/01/2023 07:09 AM
Hi Devang,
Please find the documentation link inline:
https://documenter.getpostman.com/view/1797923/SzKN22aV#cbed2b92-8c18-4c7b-b74e-72e7ec7ea751
API : https://ssm-dev-pmi.saviyntcloud.com/ECM/v5/updateEnterpriseRoleRequest
Regards,
Yogendra Shukla
06/08/2023 09:33 AM
@Yogendra Can you confirm if this was resolved. I just tested on the v23 and it did work for me. I was able to remove the Inactive Role Owner.
Can you try with ECM/api/v5/updateEnterpriseRoleRequest
Also below is a sample of payload I used
06/08/2023 09:42 AM
Hi Sahil,
We are on Saviynt version 5.5 SP 3.13. May I request you to kindly confirm if it is working on the same as well.
Regards,
Yogendra Shukla
06/08/2023 09:47 AM
Its not working in v5.5
06/08/2023 09:49 AM
Hi Rushi,
Please suggest the way forward.
Regards,
Yogendra Shukla
06/08/2023 09:43 AM
I may not have that version to test on but it should definitely work.
06/08/2023 09:47 AM
Hi Sahil,
Kindly find the screenshot suggesting that it is not working on Saviynt 5.5 SP 3.13.
You can see add is working but remove is not working.
Regards,
Yogendra Shukla
06/08/2023 09:48 AM
In case its not working, you can raise a ticket with Support.