> ## Documentation Index
> Fetch the complete documentation index at: https://docs-kfhye.zochil.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create admin

> Create a new administrator



## OpenAPI

````yaml docs/api-reference/general-monitoring.yaml post /admins/create
openapi: 3.0.3
info:
  title: Zochil General Monitoring API
  description: >
    Zochil platform general monitoring API for system administration.


    ## Authentication


    All endpoints require authentication via the `access-token` header obtained
    through login.
  version: 1.0.0
  contact:
    name: Zochil Support
    email: info@zochil.mn
  license:
    name: Proprietary
servers:
  - url: https://api.zochil.io/v3/monitoring
    description: API server
security:
  - AccessToken: []
tags:
  - name: Authentication
    description: Admin authentication and session management
  - name: Admin Management
    description: System administrator management
  - name: Profile
    description: Admin profile management
paths:
  /admins/create:
    post:
      tags:
        - Admin Management
      summary: Create admin
      description: Create a new administrator
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAdminRequest'
      responses:
        '201':
          description: Admin created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Admin'
components:
  schemas:
    CreateAdminRequest:
      type: object
      required:
        - username
        - email
        - password
      properties:
        username:
          type: string
        email:
          type: string
          format: email
        password:
          type: string
        is_super:
          type: boolean
          default: false
        roles:
          type: array
          items:
            type: string
    Admin:
      type: object
      properties:
        id:
          type: string
        username:
          type: string
        email:
          type: string
        is_super:
          type: boolean
        roles:
          type: array
          items:
            type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token

````