ProfitFlow
  1. Authentication
ProfitFlow
  • Authentication
    • Login
      POST
    • Logout
      POST
  • Categories
    • List categories
      GET
    • Get category
      GET
  • Units
    • List available units
      GET
    • Get unit details
      GET
  • Investors
    • List investors
      GET
    • Get investor details
      GET
    • Get investor portfolio
      GET
  • Schemas
    • User
    • Category
    • Error
    • Unit
    • Investor
    • ValidationError
    • Portfolio
    • PaginationLinks
    • PaginationMeta
  1. Authentication

Logout

POST
/logout
Revoke the current access token.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢200
application/json
Logout successful
Body

Example
{
    "message": "Logged out successfully."
}
🟠401
Modified at 2026-01-31 12:19:01
Previous
Login
Next
List categories
Built with