---
title: "Revoke host access"
method: DELETE
path: "/rbac/host/{id}/access/{accessId}"
tags: ["RBAC"]
---

# Revoke host access

`DELETE /rbac/host/{id}/access/{accessId}`

Revokes a user's or role's access to a host.

## Path parameters

- `id` integer, required
- `accessId` integer, required

## Response `200`

Access revoked successfully.

## Other responses

- `400` — Invalid ID.
- `403` — Caller may not manage sharing on this host.
- `500` — Failed to revoke access.

---

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