Update Portal Rule
POST/api/portals/updateportalrule
Tier: Internal — subject to change without notice.
Updates a portal rule's tuning parameters and fully replaces its wired components.
On success raises an Events.AgentNotificationDomainEvent so the portal device re-syncs its configuration.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Returns the refreshed rule. See PortalDtos.PortalRuleDetailDto.
The id does not resolve to a portal rule in the caller's organisation (NotFound, field Id).
Caller is not authenticated.
Caller does not have Update permission on the Portal module.
The stored rule is a rule type whose update path is not implemented (currently affects
Enums.PortalRuleType's GPS-location member) — such rules must be deleted and recreated instead.