PUT /api/portal/status This function requires authentication

Description

Portal activation status change.

Parameters
Name Description Type Example
portalName*
sent in Body
the name of a portal string example
status*
sent in Query
portal status, can be Active (0) to set the active status to the portal, and Suspended (1) to suspend the portal string Suspended
* - required field
Returns

Returns the portal description.

Example Response
{
    "tenant": {
        "created": "2010-07-07T15:46:00",
        "domain": "example.com",
        "language": "en-US",
        "ownerId": "78e1e841-8314-48465-8fc0-e7d6451b6475",
        "portalName": "example",
        "status": "Suspended",
        "tenantId": 1,
        "timeZoneName": "UTC"
    }
}