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
| Header | type | Required | Description | Example |
|---|---|---|---|---|
| Authorization | string | Yes | Bearer token for user session | Bearer access_token |
| Content-type | String | Yes | Media type of the request body | application/json |
| x-api-key | string | Yes | API Key for authentication | x-api-key |
🟢Success Response - 200 OK
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Status of the API call | "success" |
| code | string | Response code indicating successful logout | "s-101" |
| message | string | Description message confirming logout | "Successfully Logged Out" |
delete
/authentication/v1/user/session