---
title: "Update all users status, set a list of users as active, inactive, admin or normal user."
method: POST
path: "/admin/users"
tags: ["admin"]
---

# Update all users status, set a list of users as active, inactive, admin or normal user.

`POST /admin/users`

Update all users status, set a list of users as active, inactive, admin or normal user.
Must be a server admin.

## Request body

- object
  - `active` string[]
  - `inactive` string[]
  - `admin` string[]
  - `unadmin` string[]

## Other responses

- `401` — Not authorized
- `403` — Forbidden

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
