---
title: "Manage User"
method: POST
path: "/api/user/manage"
tags: ["AdminUser"]
---

# Manage User

`POST /api/user/manage`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/user/manage`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Request body

- ManageRequest: ManageRequest schema
  - `action` string, required
  - `groups` string[], nullable, required
  - `id` integer, required
  - `mode` string, required
  - `value` integer, required

## Response `200`

OK

- ResponseDtoManageUserData: Response_dto.ManageUserData schema
  - `data` ManageUserData, required
    - `reward_ip` RewardIpCheckData
      - `cleared` boolean, required
      - `earlier_accounts` integer, required
      - `earlier_rewarded` integer, required
      - `earlier_same_email` integer, required
    - `role` integer, required
    - `status` integer, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-11-07** `c4aaf9f1dbfd`: 2 info
  - added the optional property `data/reward_ip` to the response with the `200` status (media type: application/json)
  - added the optional property `data/reward_ip` to the response with the `200` status (media type: application/xml)

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/user/manage/post.md)

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
