Skip to main content

Logout

API to log out a user's active session, making the current session no longer valid. After logging out, the user will need to log in again for any further interactions.

Header Parameters

NameRequiredTypeDescription
AuthorizationtruestringRequires the format Bearer access_token where access_token is obtained from the Token API.
AccepttruestringDefines the content format the client expects, which should be set to application/json.
Responses

Response Body

{
"status": "success",
"data": true
}
NameTypeDescription
statusstringA string indicating the outcome of the request. Typically success for successful operations.
databooleanIndicates whether the logout was successful

Examples

A comprehensive set of examples is provided to illustrate various use cases and implementation scenarios for this API. To view detailed examples and access sample code, please refer to: API Examples.

Loading...