Change portal activation status
PUT /api/portal/status
Changes a portal activation status with a value specified in the request.
Query parameters
status
type: string | required
New portal status: Active (0) or Suspended (1).
Request body
portalName
type: string
Portal name.
Example: "example"
Request example
{
"portalName": "example"
}
Returns
The description of the portal with its new status. A failed request returns an error instead.
tenant
type: Tenant
Response example
{
"tenant": {
"tenantId": 1,
"portalName": "example",
"domain": "example.com",
"created": "2010-07-07T15:46:00",
"status": "Suspended",
"ownerId": "78e1e841-8314-4846-8fc0-e7d6451b6475",
"language": "en-US",
"timeZoneName": "UTC"
}
}