Authenticx User Hierarchy API

The UserHierarchy API from Authenticx — 2 operation(s) for userhierarchy.

Business capability
Identity & Access Management BC-620.20

Operations 3

GET /UserHierarchy/{UserId}/{HierarchyId} Get Hierarchy Permissions For User #
PUT /UserHierarchy/{UserId}/{HierarchyId} Update Hierarchy Permissions For User #
GET /UserHierarchy/{UserId}/All Get All Hierarchy Permissions For User #

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/authenticx-userhierarchy-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

authenticx-userhierarchy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AcxApi Experimental User Hierarchy API
  version: v1
servers:
- url: https://api.authcx.com
  description: AcxApi Experimental Server
security:
- {}
tags:
- name: UserHierarchy
paths:
  /UserHierarchy/{UserId}/{HierarchyId}:
    get:
      tags:
      - UserHierarchy
      summary: Get Hierarchy Permissions For User
      description: Returns a list of all permissions within a hierarchy for the specified user.
      parameters:
      - name: UserId
        in: path
        required: true
        schema:
          type: string
      - name: HierarchyId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Returns the specified hierarchy and all of the specified user's permissions within it.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AcxApi.Models.Hierarchies.UserHierarchy.UserHierarchyResponseModel'
        '400':
          description: 'The UserId or HierarchyId provided did not match an existing user/hierarchy in your organization.

            Or, the specified user has no permissions in the specified hierarchy.'
      operationId: getUserHierarchyByUserIdByHierarchyId
      x-operation-id-source: derived
    put:
      tags:
      - UserHierarchy
      summary: Update Hierarchy Permissions For User
      description: Updates a user's permissions within a specified hierarchy.
      parameters:
      - name: UserId
        in: path
        required: true
        schema:
          type: string
      - name: HierarchyId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcxApi.Models.Hierarchies.UserHierarchy.UpdateUserHierarchyRequest'
      responses:
        '200':
          description: Returns the Hierarchy, and the newly updated user permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcxApi.Models.Hierarchies.UserHierarchy.UserHierarchyResponseModel'
        '400':
          description: 'One of the following errors occurred:

            an accessLevel was provided that was not `View`, `Edit`, or `Manage`.

            there was an invalid permission name in your permissions list.'
        '404':
          description: If your organization has no hierarchy or user with that specific id
      operationId: putUserHierarchyByUserIdByHierarchyId
      x-operation-id-source: derived
  /UserHierarchy/{UserId}/All:
    get:
      tags:
      - UserHierarchy
      summary: Get All Hierarchy Permissions For User
      description: Returns a list of all active hierarchies along with the specified user's permissions for each hierarchy
      parameters:
      - name: UserId
        in: path
        required: true
        schema:
          type: string
      - name: IsActive
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: Returns the list of all active hierarchies along with the specified user's permissions for each hierarchy.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AcxApi.Models.Hierarchies.UserHierarchy.UserHierarchyResponseModel'
        '400':
          description: The UserId provided did not match an existing user in your organization
      operationId: getUserHierarchyByUserIdAll
      x-operation-id-source: derived
components:
  schemas:
    AcxApi.Models.Hierarchies.UserHierarchy.UserHierarchyResponseModel:
      type: object
      properties:
        hierarchyId:
          type: string
          description: Unique Id of this user hierarchy
          format: uuid
          example: 2140c913-e4ab-4b93-811e-b0b1d3031702
        hierarchyName:
          type:
          - string
          - 'null'
          description: Name this hierarchy is referred to by
          example: Authenticx Director
        hierarchyIsActive:
          type:
          - boolean
          - 'null'
          description: Whether this hierarchy is active or not
          example: true
        accessLevel:
          type:
          - string
          - 'null'
          description: ''
          example: Manage
        permissions:
          type:
          - array
          - 'null'
          items:
            type: string
          description: ''
          example:
          - Audio
          - ProcessedChat
        structureLevelName:
          type:
          - string
          - 'null'
          description: ''
          example: LVL6_Director
      additionalProperties: false
    AcxApi.Models.Hierarchies.UserHierarchy.UpdateUserHierarchyRequest:
      required:
      - permissions
      type: object
      properties:
        accessLevel:
          type:
          - string
          - 'null'
          description: This field may only be left blank if Permissions is an empty list []. Otherwise, this value is required to be set to "View", "Edit", or "Manage" and specifies the level of all permissions assigned.
          example: Manage
        permissions:
          type: array
          items:
            type: string
          description: 'List of values (valid values: "Audio", "Email", "Chat", "Video", "Live") that specify the types of permissions to grant to the user in the hierarchy. If specified as an empty list [] all permissions will be removed.'
          example:
          - Audio
          - Email
          - Chat
          - Video
          - Live
      additionalProperties: false
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.authcx.com/connect/token
          scopes:
            acxapi: Access to Acx API