---
title: "Set hosts to unprovision by name or nodeset"
method: PUT
path: "/host/unprovision/{nodeSet}"
tags: ["host"]
---

# Set hosts to unprovision by name or nodeset

`PUT /host/unprovision/{nodeSet}`

Sets hosts to unprovision in the given nodeset

## Path parameters

- `nodeSet` string, required

## Response `200`

successful operation

## Other responses

- `400` — Invalid nodeset supplied
- `500` — Failed to fetch hosts from database

## Changes

- **2024-12-03** `29c6a9c3f49b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/host/unprovision/:nodeSet/put.md)

---

[API](https://skmtc.dev/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.dev/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ubccr/grendel-api/revisions/29c6a9c3f49b/schema)
