---
title: "DELETE /v2/infra-envs/{infra_env_id}/hosts/{host_id}"
method: DELETE
path: "/v2/infra-envs/{infra_env_id}/hosts/{host_id}"
tags: ["installer"]
---

# DELETE /v2/infra-envs/{infra_env_id}/hosts/{host_id}

`DELETE /v2/infra-envs/{infra_env_id}/hosts/{host_id}`

Deregisters an OpenShift host.

## Path parameters

- `infra_env_id` string, uuid, required
- `host_id` string, uuid, required

## Response `204`

Success.

## Other responses

- `400` — Error.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Error.
- `405` — Method Not Allowed.
- `500` — Error.

---

[API](https://skmtc.net/openshift/apis/assistedinstall.md) · [All operations](https://skmtc.net/openshift/apis/assistedinstall/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openshift/assistedinstall/versions/9d0b4936ca97/schema)
