# Revoke one of your sessions

`DELETE /v1/me/sessions/{session_id}`

Revoking the current session signs you out.

## Authentication

A session token: `Authorization: Bearer <session token>`, or the session cookie in the browser.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `session_id` | path | string | yes |  |

## Responses

### 204

No content

### 401

unauthorized: no valid session, or the email is not verified.

Problem type: [unauthorized](https://docs.dlogify.com/errors/unauthorized.md).

### 403

csrf-origin-rejected: a cookie-authenticated change from an origin outside the web app.

Problem type: [csrf-origin-rejected](https://docs.dlogify.com/errors/csrf-origin-rejected.md).

### 429

rate-limited: per-user management request limit.

Problem type: [rate-limited](https://docs.dlogify.com/errors/rate-limited.md).

## Example

```bash
curl -X DELETE "https://api.dlogify.com/v1/me/sessions/{session_id}" \
  -H "Authorization: Bearer $DLOGIFY_SESSION"
```

Source: https://docs.dlogify.com/api/account/revokeMySession
