logout.yaml 424 B

123456789101112131415161718
  1. operationId: userLogout
  2. summary: Logout
  3. security: []
  4. description: Remove session cookie and logout the user
  5. tags: [User]
  6. responses:
  7. "200":
  8. description: "Cookie removed and session ended (always returns '{success: true}')"
  9. content:
  10. application/json:
  11. schema:
  12. type: object
  13. properties:
  14. success:
  15. type: boolean
  16. "500":
  17. $ref: "#/components/responses/500"