function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srikanthpallasrikanthpalla 

how we will logout user in REST Apis

HI all,

please let me know how we will write logout user with json response in REST

 
ParasDhingraParasDhingra
Could you please me more specific ? Are you trying to log-out a logged in user using REST API ?
If yes then you just have to revoke the OAuth Token as described here (https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_revoke_token.htm&language=en)
srikanthpallasrikanthpalla
yes ParasDhingra