Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Rest connetor : RemoveAccess JSON

prachi
Regular Contributor II
Regular Contributor II

Hi,

I am trying to remove access , for one of my Rest connector application. The JSON looks like this :

{
"call": [
{
"name": "Roles",
"connection": "userAuth",
"url": "https://{URL}/api/saviynt/roles/remove_role/",
"httpMethod": "DELETE",
"httpParams": "{\"userEmail\":\"${user.email}\",\"entitlement\":\"${entitlementValue.entitlementID}\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"successResponses": {
"statusCode": [
204,
200,
201,
null
]
},
"unsuccessResponses": {
"statusCode": [
400,
403,
401,
404,
409,
501,
500,
null
]
}
}]
}

But when i try to run provisioning job i am getting the below error :

prachi_0-1655792349264.png

In my add access JSON, the same JSON is working with the httpMethod as POST and Add access URL. It is accepting the same format data, i have tested the add access for the same user for which i am testing the remove access. I have also checked in users profile and it has the correct email address mapped.

 

 

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Email address is blank sent blank to API

try

arsTasks.userkey.email or task.userkey.email


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.