Logout user by clearing the authentication cookie.
Args: response: FastAPI response object to clear cookies
Returns: Success message
cURL
curl --request POST \ --url https://api.example.com/v1/auth/jwt/logout
{}
Successful Response
The response is of type Response Jwt Logout V1 Auth Jwt Logout Post · object.
Response Jwt Logout V1 Auth Jwt Logout Post · object
Was this page helpful?