Skip to main content

DELETE /api/v1/auth/logout

Log out the current user and invalidate their authentication tokens. Clears the access_token and refresh_token cookies.

Authentication​

Required

Request​

No request body.

Example​

curl -X DELETE https://intotes.com/api/v1/auth/logout \
-H "Authorization: Bearer <access_token>"

Response​

200 OK​

Clears access_token and refresh_token cookies.

{}

Errors​

StatusCodeDescription
401UNAUTHORIZEDMissing or invalid access token