Skip to main content
DELETE
/
experiments
/
{experiment_id}
/
users
/
{user_id}
Detach a user from an experiment
curl --request DELETE \
  --url https://api.qonversion.io/v4/experiments/{experiment_id}/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "request",
    "code": "<string>",
    "message": "<string>",
    "details": [
      {
        "field": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Path Parameters

experiment_id
string
required

Experiment identifier.

Maximum string length: 256
Pattern: ^[a-zA-Z0-9._-]+$
user_id
string
required

User identifier.

Maximum string length: 256
Pattern: ^[a-zA-Z0-9._-]+$

Response

User detached from experiment