---
title: "Admin Toggle Test Flag"
method: POST
path: "/api/internal/users/{user_id}/test-flag"
tags: ["internal"]
---

# Admin Toggle Test Flag

`POST /api/internal/users/{user_id}/test-flag`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/internal/users/{user_id}/test-flag`
- Auth: none declared

## Path parameters

- `user_id` string, uuid, required

## Headers

- `X-Admin-Secret` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
