---
title: "Detach a user from an experiment"
method: DELETE
path: "/experiments/{experiment_id}/users/{user_id}"
tags: ["Experiments"]
---

# Detach a user from an experiment

`DELETE /experiments/{experiment_id}/users/{user_id}`

Removes a user's assignment from an experiment.

## Path parameters

- `experiment_id` string, required
- `user_id` string, required

## Response `204`

User detached from experiment

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Experiment or user not found
- `429` — Too many requests
- `502` — Upstream service failure
- `504` — Upstream timeout

---

[API](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4.md) · [All operations](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qonversion/qonversion-rest-api-v4/versions/e3f72cf8951c/schema)
