Skip to main content
PUT
Update project health policy settings

Authorizations

Authorization
string
header
required

Polymorfa server credential: a scoped pmfa_ organization key, or a pmfa_pt_ project token on project- and session-bound operations inside its exact authenticated project. Keys may be personal or service-account owned. Both enforce selected action scopes; organization keys can address team resources and every project in the organization. Listener and browser client credentials are rejected.

Path Parameters

projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

Body

application/json
version
integer
required

Specifies version for this management update project health policy input.

Value constraints

Required range: x >= 0
enabled
boolean
required

Whether this feature is enabled.

threshold
integer
required

Specifies threshold for this management update project health policy input.

Value constraints

Required range: 0 <= x <= 100
sessionAction
enum<string>
required

Specifies session action for this management update project health policy input.

Allowed values

Available options:
none,
stop,
slow_down,
log_out
slowDownMps
number | null
required

Specifies slow down mps for this management update project health policy input.

Accepted alternatives

Value constraints

Required range: x > 0
emailNotification
boolean
required

Whether email notification.

webhookNotification
boolean
required

Whether webhook notification.

Response

Success

data
object
required

Structured data carried by this object.