---
title: "Put Update Un Availability"
method: PUT
path: "/ParentsEvening/UnAvailability"
tags: ["Parentsevening"]
---

# Put Update Un Availability

`PUT /ParentsEvening/UnAvailability`

**Requires permissions:** *AcademicStaff* or *AcademicSupport*

Parents' evening - put Update Un Availability.

## Request body

- UpdateUnavailabilityRequest
  - `unavailabilities` ParentsEveningAvailabilityDto[]
    - `id` integer
    - `slotId` integer, nullable
    - `dateId` integer, nullable
    - `eveningId` integer, nullable
    - `staffId` integer, nullable
    - `staffNameId` integer, nullable
    - `available` boolean
    - `booked` boolean
    - `teacher` ParentsEveningContactDto
      - `nameId` integer
      - `staffId` integer
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `email` string, nullable
      - `telephone` string, nullable
      - `photo` string, nullable
      - `role` string, nullable

## Response `200`

Success

## Other responses

- `204` — No Content
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-09-02** `36dba1c77613` — 4 info
  - the `unavailabilities/items/staffId` request property format was generalized from `int32` to `int64`
  - the `unavailabilities/items/staffNameId` request property format was generalized from `int32` to `int64`
  - the `unavailabilities/items/teacher/oneOf[#/components/schemas/ParentsEveningContactDto]/nameId` request property format was generalized from `int32` to `int64`
  - the `unavailabilities/items/teacher/oneOf[#/components/schemas/ParentsEveningContactDto]/staffId` request property format was generalized from `int32` to `int64`

[Change history](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/changes/ParentsEvening/UnAvailability/put.md)

---

[API](https://skmtc.dev/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/revisions/36dba1c77613/schema)
