Update a sleep record in the tracker system.
| Permission | Description |
|---|---|
tracker_sleeps.update | Update tracker sleep |
| Name | Type | Required | Description |
|---|---|---|---|
tracked_at | string | No | Datetime for the sleep record |
notes | string | No | Optional notes |
All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.
<tracker sleep resource>
| Status | Error Type | Reference |
|---|---|---|
| 422 | Validation Error | Validation error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden | Permission error |