NB! It seems this console command is not compatible with CS2.
Command Profile

SV_DZ_PLAYER_MAX_HEALTH

CS:GO

This command sets the amount of health players have in Danger Zone. Default is 120.

Syntax
sv_dz_player_max_health [Amount]

Description

This command sets the amount of health players have in Danger Zone. Default is 120.

Syntax And Arguments

sv_dz_player_max_health [Amount]
Amount The maximum amount of health each player can have in danger zone.