---
title: "Update Allocation"
method: PUT
path: "/setup/v1/resources/allocations/{id}"
tags: ["Resources"]
---

# Update Allocation

`PUT /setup/v1/resources/allocations/{id}`

Use this endpoint to **Update** a resource allocation. A valid **resourceAllocation id** is required. Refer to the _POST /setup/v1/resources/{id}/allocations_ endpoint for details.

## Path parameters

- `id` string, required

## Request body

- ResourceAllocationUpdateModel
  - `startDate` string, date, nullable
  - `endDate` string, date, nullable
  - `startTime` integer, nullable
  - `endTime` integer, nullable
  - `reason` string, nullable
  - `repeats` boolean, nullable
  - `repeat` RepeatInputModel
    - `frequency` string, nullable
    - `interval` integer, nullable
    - `weekdays` string, nullable
    - `monthDay` integer, nullable
    - `monthType` string, nullable

## Response `200`

Success

- ResourceBlockViewModel
  - `object` string, nullable
  - `id` integer
  - `businessId` integer
  - `resourceId` integer
  - `startDate` string, nullable
  - `endDate` string, nullable
  - `startTime` integer
  - `endTime` integer
  - `reason` string, nullable
  - `repeats` boolean
  - `repeat` RepeatViewModel
    - `frequency` string, nullable
    - `interval` integer
    - `weekdays` string, nullable
    - `monthDay` string, nullable
    - `monthType` string, nullable
  - `deletedStatus` boolean
  - `deletedTime` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/versions/c5c023458a2f/schema)
