Skip to main content
PUT
Update project health policy settings

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

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.