SweetConnect LogoSweetConnect
ApiTenants

Switch to a different tenant by ID

Switch to a different tenant by ID

POST
/v1/tenants/switch/{tenantId}
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string

The ID of tenant to switch to

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://test.sweetconnect.io/api/auth/v1/tenants/switch/string"
Empty
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}