---
title: "Returns a user."
method: DELETE
path: "/cc/v1/users/id/{userId}"
tags: ["Users"]
---

# Returns a user.

`DELETE /cc/v1/users/id/{userId}`

Optional extended description in Markdown.

## Path parameters

- `userId` integer, required

## Response `200`

Detailed User and User information.

- User
  - `id` integer — the id of user
  - `name` string — the username
  - `gid` integer — the gid of user
  - `uid` integer — the uid of user
  - `token` string — the client_token of user
  - `type` string — the type of user, user or system
  - `remarks` string — the uid remarks user
  - `enableFlag` integer — Whether the data is valid
  - `guidCheck` string — true or false

## Other responses

- `401` — Unauthorized
- `404` — Model with the given ID not found.

---

[API](https://skmtc.dev/webankfintech/apis/mlss-cc-api.md) · [All operations](https://skmtc.dev/webankfintech/apis/mlss-cc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mlss-cc-api/revisions/615a549c16f7/schema)
