RingCentral.Platform.Logout C# (CSharp) Method

Logout() public method

Revokes the already granted access to stop application activity
public Logout ( ) : ApiResponse
return RingCentral.Http.ApiResponse
        public ApiResponse Logout()
        {
            var body = new Dictionary<string, string> { { "token", Auth.AccessToken } };
            Auth.Reset();
            var request = new Request(RevokeEndpoint, body);
            return AuthCall(request);
        }