Web Playground

User Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

Request Routing

The playground switches API hosts based on your daily request count.

Under 500 requests per day, the playground routes to https://mlbb.rone.dev. Above 500 requests per day, it switches to https://openmlbb.fastapicloud.dev (recommended).

Standard

https://mlbb.rone.dev

For 0 - 500 requests per day.

Recommended

https://openmlbb.fastapicloud.dev

Best for 500+ requests per day.

Active base: https://mlbb.rone.dev Standard volume Requests: 0

POST Logout

/web/user/auth/logout

Open Only This

Invalidate the player's session using the JWT obtained from /api/user/auth/login. This endpoint terminates the current authenticated session, ensuring that the JWT can no longer be used for authorized requests.

Headers:

  • Authorization: Bearer <jwt> (JWT obtained during login).

The response confirms whether the logout was successful:

  • code: Status code (0 indicates success).
  • data: Empty string (no payload returned).
  • msg: Message string (e.g., 'ok').

Note: Although the login response also includes a token field, only the JWT is required for logout. The server uses the JWT to invalidate the session.

POST /api/user/auth/logout