---
title: "Toggle Active"
method: POST
path: "/admin/users/{user_id}/toggle-active"
tags: ["admin"]
---

# Toggle Active

`POST /admin/users/{user_id}/toggle-active`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/admin/users/{user_id}/toggle-active`
- Auth: none declared

Toggle a user's is_active flag.

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
