---
title: "Unassign Harbor User"
method: DELETE
path: "/api/harbors/{harbor_id}/users/{user_id}"
tags: ["Harbors"]
---

# Unassign Harbor User

`DELETE /api/harbors/{harbor_id}/users/{user_id}`

Removes a Harbor assignment without deleting the user.

This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.

## Path parameters

- `harbor_id` string, uuid, required — Unique identifier of the Harbor.
- `user_id` string, uuid, required — Unique identifier of the Harbor-only user.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- UnassignedHarborUserEnvelope
  - `data` object
    - `id` string, uuid — Unique identifier of the unassigned user.

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.net/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/revisions/42f4cfea0ea3/schema)
