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.

🟢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"

🔴 Error Response - 400 Resource Not Found

FieldTypeDescriptionExample
statusstringStatus of the API call Default Error"error"
codestringError code indicating the failure"e-101"
messagestringSpecific message explaining why the requested resource was not found"Error Message"
delete/authentication/v1/user/session