Skip to content

Update Portal

POST/web/v1/workspaces/{workspaceId}/institutions/{institutionBizId}/portals/update WEB

Updates an existing portal entry. Supports partial update.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
AuthorizationBearerJWT access token

Request Parameters

Path Parameters

NameTypeRequiredInDescription
workspaceIdstringRequiredpathWorkspace business ID
institutionBizIdstringRequiredpathInstitution business ID

Request Body

InstitutionPortalUpdateRequest:

NameTypeRequiredInDescription
institutionPortalIdlongRequiredbodyPortal record ID to update
domainstringOptionalbodyNew portal domain URL (max 255 characters)
remarkstringOptionalbodyNew remark (max 255 characters)
portalStatusintegerOptionalbodyNew portal status code

Success Response

Success 200
{
  "code": "2000",
  "message": "SUCCESS",
  "data": {
    "id": 1,
    "institutionBizId": "inst_abc123",
    "portalType": 10010102,
    "domain": "https://new-tenant.example.com",
    "portalStatus": 10080101,
    "remark": "Updated remark",
    "createdAt": "2026-03-21T00:00:00Z",
    "updatedAt": "2026-03-21T01:00:00Z"
  }
}

Error Responses

CodeDescription
4000Validation error (missing institutionPortalId)
4010Unauthorized (invalid or missing JWT token)
4040Portal not found

Notes

  • Only non-null fields in the request body are updated.

SlaunchX Internal Documentation