Sample - Swagger Petstore OpenAPI 3
GET/user/logout

Log out the authenticated user

Triggers logout for the authenticated user and ends the active user session. Call this operation when the authenticated user wants to leave the system. A successful response confirms that the logout operation completed.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 status codes
200Confirms that the authenticated user's session was logged out successfully.
defaultReturned when an unexpected error occurs.