# Update a nominal speed (https://docs.pulsarml.com/v1/api-reference/nominal-speeds/patch-nominal-speeds-nominal_speed_id)

Partially update a nominal speed: send only the fields that change.

Nominal speed is the denominator of the performance term in OEE, so changing it changes the
OEE reported for the periods it applies to.

## `PATCH /v1/nominal-speeds/{nominal_speed_id}`

Base URLs:
- `https://draco.prod.pulsarml.com` — Production
- `https://draco.dev.pulsarml.com` — Development (sandbox)

Authentication: send your API key in the `x-api-key` header.

### Path parameters

- `nominal_speed_id` (string (uuid4), required) — The nominal speed ID.

### Request body (`application/json`, required)

Type: object (`UpdateNominalSpeedByIdRequestV1`)

- `nominalSpeed` (number, optional, nullable, e.g. `100`) — The nominal speed of the machine and sku
- `countingFactor` (number, optional, nullable, e.g. `1`) — The counting factor of the machine and sku
- `machine` (object, optional, nullable) — The machine associated with the sku.
  - `id` (integer, optional, nullable, > 0, e.g. `1`) — The id of the machine
  - `name` (string, optional, nullable, e.g. `"Machine 1"`) — The name of the machine
- `sku` (object, optional, nullable) — The sku associated with the machine.
  - `id` (string, optional, nullable, e.g. `"9ce2c6b4-a1f4-4bf2-b5c8-10436d1018cc"`) — The id of the sku
  - `name` (string, optional, nullable, e.g. `"sku 1"`) — The name of the sku

### Responses

#### 204 — Successful Response

#### 422 — Validation Error

Type: object (`HTTPValidationError`)

- `detail` (array of object, optional)
  - `loc` (array of string | integer, required)
  - `msg` (string, required)
  - `type` (string, required)

### Example request

```bash
curl -X PATCH 'https://draco.prod.pulsarml.com/v1/nominal-speeds/<nominal_speed_id>' \
  -H 'x-api-key: <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "nominalSpeed": 100,
    "countingFactor": 1
  }'
```