Skip to main content

Logout API

Logs out the currently authenticated user and terminates their active session.  This API call invalidates the user's session by revoking the access token. Once successful, the user will be logged out and must re-authenticate to regain access.

🔑Header Parameters

HeadertypeRequiredDescriptionExample
AuthorizationstringYesBearer token for user sessionBearer access_token
Content-typeStringYesMedia type of the request bodyapplication/json
x-api-keystringYesAPI Key for authenticationx-api-key

🟢Success Response - 200 OK

FieldTypeDescriptionExample
statusstringStatus of the API call"success"
codestringResponse code indicating successful logout"s-101"
messagestringDescription message confirming logout"Successfully Logged Out"
delete/authentication/v1/user/session