Skip to content

set-zones

Update training zones

Usage

rouvy-api set-zones --type <value> --zones <value>

Arguments

Argument Type Required Description
--type string Yes Zone type to update Choices: power, heartRate
--zones string Yes Comma-separated zone boundary percentages

Examples

Update power zones

rouvy-api set-zones --type power --zones 55,75,90,105,120

Output

{
  "status": "ok",
  "message": "Power zones updated: 55,75,90,105,120"
}

Output Schema

WriteResponse

Field Type Required
status string Yes
message string Yes

Stability: stable