LogoutEndpoint class

Bases: Resource

Logout endpoint


post: tags: - api summary: Logout description: Logout current user with jwt token security: - bearerAuth: [] responses: 201: content: application/json: schema: type: object properties: message: type: string example: Logout successful. 401: content: application/json: schema: type: object properties: token: type: string example: Unauthorized.