Skip to main content
PUT
Replace age groups

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
groups
object
required

Keyed by species key, or a species name such as Dogs, which is saved as its key. The key "" is the set for every species without its own. Each list goes youngest first.

Response

The age groups, as they now are.

groups
object
required

Keyed by species key. The key "" is the set for every species without its own.

units
enum<string>[]
required
Available options:
day,
week,
month,
year
in_use_by_fees
string[]
required

The group keys a fee rule names. These cannot be removed.