Ant Media Users API

The Users API from Ant Media — 7 operation(s) for users.

Operations 8

POST /v2/users/initial Creates initial user #
PUT /v2/users Edit the user #
POST /v2/users Creates a new user #
POST /v2/users/authenticate Authenticates user #
POST /v2/users/password Changes the given user's password #
DELETE /v2/users/logout Delete session #
DELETE /v2/users/{username} Delete the user #
GET /v2/users/{usermail}/blocked Returns if user is blocked #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ant-media-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ant-media-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ant Media Server Management Panel REST Users API
  description: Ant Media Server Management Panel REST API
  contact:
    name: Ant Media Info
    url: https://antmedia.io
    email: contact@antmedia.io
  license:
    name: Apache 2.0
    url: http://www.apache.org
  version: v2.0
tags:
- name: Users
paths:
  /v2/users/initial:
    post:
      summary: Creates initial user
      description: Creates initial user. This is a one time scenario when initial user creation required and shouldn't be used otherwise. User object is required and can't be null
      operationId: addInitialUser
      requestBody:
        description: User object. If it is null, new user won't be created.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
  /v2/users:
    put:
      summary: Edit the user
      description: Edit the user in the server management panel's user list. It can change password or user type (admin, read-only).
      operationId: editUser
      requestBody:
        description: User to be edited. It finds the user with username.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
    post:
      summary: Creates a new user
      description: Creates a new user. If user object is null or if user is not authenticated, new user won't be created.
      operationId: addUser
      requestBody:
        description: User object. If it is null, new user won't be created.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
  /v2/users/authenticate:
    post:
      summary: Authenticates user
      description: Authenticates user with given username and password. Requires user object to authenticate.
      operationId: authenticateUser
      requestBody:
        description: User object to authenticate
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
  /v2/users/password:
    post:
      summary: Changes the given user's password
      operationId: changeUserPassword
      requestBody:
        description: User object to change the password
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      responses:
        '200':
          description: Successful operation
      tags:
      - Users
  /v2/users/logout:
    delete:
      operationId: deleteSession
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
      summary: Delete session
      x-summary-source: derived
  /v2/users/{username}:
    delete:
      summary: Delete the user
      description: Delete the user from the server management panel's user list
      operationId: deleteUser
      parameters:
      - name: username
        in: path
        description: User name or e-mail of the user to be deleted
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
  /v2/users/{usermail}/blocked:
    get:
      summary: Returns if user is blocked
      description: User is blocked for a specific time if there are login attempts
      operationId: getBlockedStatus
      parameters:
      - name: usermail
        in: path
        description: User name or e-mail of the user to check its status
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      tags:
      - Users
components:
  schemas:
    User:
      type: object
      properties:
        email:
          type: string
          description: The email of the user
        password:
          type: string
          description: The password of the user
          writeOnly: true
        userType:
          type: string
          description: The type of the user
          enum:
          - ADMIN
          - READ_ONLY
          - USER
          - ADMIN
          - READ-ONLY
          - USER
        scope:
          type: string
          description: The scope of the user. If it's 'system', it can access system-level stuff. If it's an application name, it can access application-level stuff.
        appNameUserType:
          type: object
          additionalProperties:
            type: string
            description: Holds app -> scope of access data. After 2.9.1 users can have multiple app access with different access types.
          description: Holds app -> scope of access data. After 2.9.1 users can have multiple app access with different access types.
        newPassword:
          type: string
          description: The new password of the user
          writeOnly: true
        firstName:
          type: string
          description: The first name of the user
        lastName:
          type: string
          description: The last name of the user
        fullName:
          type: string
          description: The full name of the user
        picture:
          type: string
          description: The URL of the user's picture
      description: The user information
    Result:
      type: object
      properties:
        success:
          type: boolean
          description: The result of the operation
        message:
          type: string
          description: The message of the operation result
        dataId:
          type: string
          description: The id of the record if operation is about adding a record
        errorId:
          type: integer
          description: The id of error of the operation result
          format: int32
      description: The basic result class
externalDocs:
  description: External Docs
  url: https://antmedia.io