Update project health policy
Required scope: sessions:manage
Replaces the project policy when version matches the stored version. The rule triggers only when an available health estimate is below threshold. Stopping disconnects a session while retaining its linked credentials; logging out requires relinking.
Authorizations
Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.
Path Parameters
Identifier of the Polymorfa project that owns this resource.
Value constraints
Body
Specifies version for this native update project health policy input.
Value constraints
x >= 0Whether this feature is enabled.
Specifies threshold for this native update project health policy input.
Value constraints
0 <= x <= 100Specifies session action for this native update project health policy input.
Allowed values
none, stop, slow_down, log_out Specifies slow down mps for this native update project health policy input.
Accepted alternatives
Value constraints
x > 0Whether email notification.
Whether webhook notification.