I wanted to use API remotelogout to logout user from Insided. I am using curl call to achieve so.
I am getting error :
: Uncaught exception 'inSidedApiException' with message 'This action is only available for fields:email,userid,oracle_sso_id,token_sso_id,openidconnect_sso_id,facebook_sso_id,janrain_sso_id,saml_sso_id,linkedin_sso_id,username
My url is :
https://api.insided.com/v1.1/user/remotelogout/email/rntest1@tomtom.com?apikey=N5WKK9J8J0R0QJXEMTK7&sig=zB%2BmbuwHZYPhtRXxGztjD2OjZr2b0w99t207YFVoJbo%3D
Please help me with this.
Thanks,
Nital Joshi
Solved
getting error while hitting API 'remotelogout' via CURL PHP call
Best answer by Rens
Hi Nital, have you tried sending your request through the DELETE method (instead of GET), and did you URL-encode the email value (so, /rntest1%40tomtom.com instead of /rntest1@tomtom.com)?
Also, it's advised to test on staging first, and your API key/secret combination has to match the environment of course.
Also, it's advised to test on staging first, and your API key/secret combination has to match the environment of course.
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.