Site

Switch to a specific site

Changed on

Switches the current user's active site to the specified site. The 'id' path parameter represents the site identifier (also referred to as 'siteId' or 'hostId' in the API).

put/api/v1/site/switch/{id}

Request

Path parameters

idstring required

Identifier of the site to switch to (siteId/hostId are used interchangeably)

Response

Site switched successfully

entityobject
i18nMessagesMapobject
permissionsstring[]

Changes

    • info

      api operation id switchSite_1 removed and replaced with switchSiteById

    • info

      api tag Site added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status