---
title: "PUT /queues/schedulers/{id}"
method: PUT
path: "/queues/schedulers/{id}"
---

# PUT /queues/schedulers/{id}

`PUT /queues/schedulers/{id}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/queues/schedulers/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/queues/schedulers/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a scheduler

## Path parameters

- `id` integer, required

## Request body `*/*`

- object
  - `queuesubresourceid` integer: Queue subresource ID
  - `hostname` string: Hostname
  - `batchsystem` integer: Batchsystem ID
  - `schedulerpolocyid` integer: Scheduler Policy ID
  - `defaultmaxwalltime` integer: Default max wall time in seconds
  - `datetimedraindown` string: Drain timestamp
  - `datetimelastimportstart` string: Last import started timestamp
  - `datetimelastimportstop` string: Last import finished timestamp

## Response `204`

Successful entry modification

## Other responses

- `404`: Record not found
- `409`: Invalid data

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
