Delete account from application

How to inculde request body while performing delete account operation from application(application type is web services) .My request body is coming as NULL even I passed in delete account operation

I tried with enabling deleteAccount as true but still it is not working .

Any suggestion how to resolve this issue?

Hi @madaanr,

you can write the body like your screenshot or you can wirte a before operation rule and build there the body and save into the operation.

Hi @madaanr,

Did you test the delete operation from postman?
You can view the provisioningPlan from before operation rule. Print the plan and check the UserName.

Regards,
Arun

1 Like

Hi @madaanr ,

For resolving this issue easily. First, can you try to see if it is working from the Postman application? like combining both base and context urls and passing data in the body. So, we can come to know that it is working fine without any issues outside of SailPoint. If it is working fine outside of SailPoint, and if you are using UserName as the identity attribute, it is better to use it like this in the body (plan.nativeIdentity).

{
    "UserName": "$plan.nativeIdentity$"
}
1 Like

I definitely agree with you; it will be easier to debug and identify the issue.

Hi @madaanr ,

Are you still facing the issue?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.