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.

How To Use sv_dz_player_max_health

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter sv_dz_player_max_health [Amount], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

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