Open this page in the API Guide

SessionController.SwitchTenant Method

Switches the tenant of the current session.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute("SwitchTenant")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<SessionData> SwitchTenant(
	[FromBodyAttribute] Guid? tenantId,
	Guid? sessionId = null
)

Parameters

tenantId
Type: System.Nullable<Guid>
The ID of the tenant to switch into.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<SessionData>
The operation completed successfully. The payload contains a SessionData object.
See Also