Type Alias: LogoutResponse

LogoutResponse: object

Response type for logout calls. Similar to a BootstrapResponse, but designed specifically for logout logic.

Multi-org Logout Response: In multi-org scenarios, orgStates contains the logout status of each org:

  • OrgStates.LOGGED_OUT - Org logged out successfully
  • OrgStates.LOGGED_OUT_FAILURE - Logout failed for the org (check reason for details)

The status field indicates overall result:

  • Status.SUCCESS - All orgs logged out successfully
  • Status.PARTIAL_SUCCESS - Some orgs logged out successfully (multi-org only)
  • Status.FAILURE - All orgs failed to logout or no valid orgs found

message: string

Required. The response message.

optional orgStates: OrgStatesMap

The OrgStatesMap with org(s) statuses.

status: Status

Required. The response status.