xshop-docs

Logout API Endpoint

Specs

Path: api/users/logout

Method: GET

Query Parameters

None

Headers

Key: Authorization, Value: Token user's_token_here

Request

None

Response

Success, Code 200:

{"detail":"Logged out successfully"}

Failure, Code 4xx: Invalid logout, error messages returned based on the error

Checklist