Let the platform do the work

logout

Overview

Logs a user out of the SugarCRM application.

Available APIs

  • SOAP
  • REST

Definition

logout(session)

Parameters

Name Type Description
session String Session ID returned by a previous call to login.

Result

Name Type Description
null void No return value.

Change Log

Version Change
v2 Return type was changed from error_value to void.

Example

PHP

$logout_parameters = array(
    //session id to expire
    "session" => $session_id,
);

Topics