Update Portal
POST/api/portals/updateportal
Tier: Internal — subject to change without notice.
Updates a portal's configuration and reconciles which devices are attached to it.
Renames the underlying Agent and updates its heartbeat settings. On success raises an
Events.AgentNotificationDomainEvent so the portal device re-syncs its configuration.
Request
Responses
- 200
- 400
- 401
- 403
Returns the refreshed portal. See PortalDtos.PortalDetailDto.
The id does not resolve to a portal in the caller's organisation (NotFound), or a device could not be detached because one of its components is still used by one of this portal's rules (InvalidOperation on field Devices).
Caller is not authenticated.
Caller does not have Update permission on the Portal module.