Portals
Update Portal
Updates the configuration for a single portal including the visibility, access, and custom domain settings.
patch/v2/portals/{portalId}#classic
Request body
Example request
{
"name": "Aperture",
"is_public": false,
"rbac_enabled": true,
"auto_approve_applications": false,
"auto_approve_developers": false,
"custom_domain": "api.example.com",
"custom_client_domain": "portal.example.com",
"default_application_auth_strategy_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
}Response
Details about the portal being updated.
Example response
{
"id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-02-07T17:46:57.52Z",
"updated_at": "2022-10-08T17:00:00.52Z",
"name": "Portal A",
"display_name": "Developer Portal A",
"description": "The Portal A",
"default_domain": "123455678abcd.us.portal.konghq.com",
"is_public": false,
"rbac_enabled": true,
"auto_approve_applications": false,
"auto_approve_developers": true,
"custom_domain": "api.example.com",
"custom_client_domain": "portal.example.com",
"application_count": 0,
"developer_count": 0,
"published_product_count": 0
}