---
title: "PATCH /training/{id}"
method: PATCH
path: "/training/{id}"
tags: ["training"]
---

# PATCH /training/{id}

`PATCH /training/{id}`

## Path parameters

- `id` integer, required

## Request body

- TrainingModule
  - `id` integer
  - `training_name` string
  - `duration` string
  - `provider` string
  - `department` string
  - `status` 'Planned' | 'In Progress' | 'Completed'
  - `numberOfPeople` integer
  - `description` string

## Response `202`

training data

- object
  - `message` string
  - `data` TrainingModule
    - `id` integer
    - `training_name` string
    - `duration` string
    - `provider` string
    - `department` string
    - `status` 'Planned' | 'In Progress' | 'Completed'
    - `numberOfPeople` integer
    - `description` string

## Other responses

- `400` — Need to add all the fields
- `404` — no content to display
- `500` — internal server error

## Changes

- **2025-08-07** `8f39d60f160a` — 1 breaking, 12 info
  - the request's body type/format changed from ``/`` to `object`/``
  - added the new optional request property `department`
  - added the new optional request property `description`
  - added the new optional request property `duration`
  - …9 more
- **2025-07-14** `49d44b198af1` — 1 info
  - added optional request body
- **2025-07-10** `37ab79ef8ad6` — 1 info
  - endpoint added
- **2025-01-22** `ed48b7196725` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/training/:id/patch.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/8f39d60f160a/schema)
