Update a trainee record.
| Permission | Description |
|---|---|
trainees.update | Update your own trainees/trainers |
trainees.update_any | Update trainees/trainers for any user |
| Name | Type | Required | Description |
|---|---|---|---|
notes | string | No | Optional notes |
is_delivered | boolean | No | Specify if the service is delivered (only trainer can update this) |
All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.
{ /* trainee resource */ }
| Status | Error Type | Reference |
|---|---|---|
| 422 | Validation Error | Validation error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden | Permission error |