Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/20/2022 11:25 PM
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 :
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.
06/21/2022 08:58 AM - edited 06/21/2022 08:58 AM
Email address is blank sent blank to API
try
arsTasks.userkey.email or task.userkey.email