---
title: "Update a parameter"
method: PATCH
path: "/parameters/{id}"
tags: ["Parameters"]
---

# Update a parameter

`PATCH /parameters/{id}`

Update a parameter. Currently only parameters with the "Custom" parameter type can be updated.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `calculation` string — Equation that defines how this parameter will be calculated
  - `unit_type` '' | 'count' | 'distance' | 'duration' | 'percentage' | 'speed' | 'weight' — The type of units that will be used to display this parameter. Empty string indicates arbitrary units, for example player load.
  - `ctr_order` number — Position of this parameter in CTR report

## Response `200`

Updated parameter

- object
  - `id` string, uuid, required
  - `parameter_type_id` string, uuid, required
  - `name` string, required
  - `original_name` string, required
  - `base_name` string
  - `band` number, nullable
  - `aggregation` string
  - `group_by` string
  - `slug` string, required
  - `unit_type` '' | 'count' | 'distance' | 'duration' | 'percentage' | 'speed' | 'weight' — The type of units that will be used to display this parameter. Empty string indicates arbitrary units, for example player load.
  - `calculation` string — Equation that defines how this parameter will be calculated
  - `ctr_order` number, required — Position of this parameter in CTR report
  - `created_at` string, required
  - `modified_at` string, required

## Other responses

- `401` — Unauthorized
- `403` — Cannot update non-custom parameter
- `404` — Not Found
- `422` — Invalid parameter attributes

---

[API](https://skmtc.net/catapultsports/apis/openfield-connect-v6-api.md) · [All operations](https://skmtc.net/catapultsports/apis/openfield-connect-v6-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/catapultsports/openfield-connect-v6-api/revisions/b68eadaba68c/schema)
