---
title: "Unlink user from investor"
method: DELETE
path: "/v0/investors/{investorId}/users/{userId}"
tags: ["Users"]
---

# Unlink user from investor

`DELETE /v0/investors/{investorId}/users/{userId}`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/investors/{investorId}/users/{userId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/investors/:investorId/users/:userId/delete.ts> (a function with typed inputs; its response is checked against the schema)

**Remove a user from an investor account.**

## Path parameters

- `investorId` string, uuid, required: a Universally Unique Identifier
- `userId` string, uuid, required: a Universally Unique Identifier

## Response `204`

User unlinked from the investor

## Other responses

- `400`: The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

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