---
title: "Admin Add Skill"
method: POST
path: "/api/v1/users/{user_id}/skills"
tags: ["api", "api", "users"]
---

# Admin Add Skill

`POST /api/v1/users/{user_id}/skills`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/users/{user_id}/skills`
- Auth: HTTP bearer

## Path parameters

- `user_id` integer, required

## Request body

- UserSkillCreate
  - `type` string
  - `name` string
  - `description` string
  - `icon` string
  - `certificate` Certificate
    - `id` integer
    - `level_type` string
    - `name` string
    - `value` string
    - `doc` string

## Response `201`

Successful Response

- AdminUserResponse: Admin "Foydalanuvchilar" sahifasi uchun to'liq foydalanuvchi javobi. Flutter `AppUserModel.fromJson` + `UserData.fromJson` bilan mos (flat shakl): foydalanuvchi maydonlari, moderatsiyali `skills`, `is_blocked` va `created_at`.
  - `id` integer, required
  - `name` string, nullable
  - `second_name` string, nullable
  - `third_name` string, nullable
  - `email` string, required
  - `phone` string, nullable
  - `birthday` string, nullable
  - `age` integer, nullable
  - `admin_permissions` string[]
  - `phone_verification_status` string
  - `phone_rejection_reason` string, nullable
  - `skills` UserSkill[]
    - `id` integer, required
    - `type` string
    - `name` string
    - `description` string
    - `icon` string
    - `certificate` Certificate
      - `id` integer
      - `level_type` string
      - `name` string
      - `value` string
      - `doc` string
    - `verification_status` string
    - `rejection_reason` string, nullable
  - `is_blocked` boolean
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
