Elastio Users API

Operations that create, read, update or disable Users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 15

GET /rbac/api/v1/users List all users #
POST /rbac/api/v1/users Create a new user #
POST /rbac/api/v1/users/byIds Get user objects by ID list (bulk) #
PATCH /rbac/api/v1/users/disable Disable one or many users by ID #
PATCH /rbac/api/v1/users/enable Enable one or many users by ID #
PATCH /rbac/api/v1/users/{id} Update user attributes #
DELETE /rbac/api/v1/users/{id} Delete a user #
GET /rbac/api/v1/users/{id}/role Get user's current role #
GET /rbac/api/v1/users/role Get current authenticated user's role #
POST /rbac/api/v1/users/resend-invite Resend an invitation email #
GET /rbac/api/v1/users/search Search users by free‑text query #
GET /rbac/api/v1/users/{userId} Get a specific user by ID #
GET /rbac/api/v1/users/{userId}/roles List roles for a user #
POST /rbac/api/v1/users/{userId}/roles Assign role to user #
DELETE /rbac/api/v1/users/{userId}/roles/{roleId} Revoke role from 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/elastio:elastio-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

elastio-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elastio Users API
  description: 'The Elastio API gives you access to the Elastio platform from code. Hunt looks for ransomware, malware, and corrupted files in live, replicated, and backup data. Pursuit investigates copies of your systems for evidence of compromise. The API returns what both find, the incidents they raise, and the evidence that proves which recovery point is clean.


    ## Base URL


    Every request goes to your tenant:


    ```

    https://{tenant}.app.elastio.com

    ```


    `{tenant}` is the subdomain you use to sign in to the Elastio console.


    ## Authentication


    Send a personal access token (PAT) in the `Authorization` header:


    ```

    Authorization: Bearer

    ```


    Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`. Tokens can be scoped to the categories `inventory`, `security`, `protection`, `reporting`, `integrations` and `admin`, each with `read` or `write` access. See the authentication guide for details.


    ## Trying requests


    Select **Test Request** on any operation to send it from your browser. Enter your tenant in the server field and your token under **Authentication**. Requests run against your live tenant, so write operations change real data.'
  version: 1.0.0
  contact:
    name: Elastio Support
    email: support@elastio.com
    url: https://support.elastio.com
  license:
    name: Copyright © Elastio Software, Inc. All rights reserved.
    url: https://elastio.com
servers:
- url: https://{tenant}.app.elastio.com
  description: Your Elastio tenant
  variables:
    tenant:
      default: your-tenant
      description: The subdomain of your Elastio console URL
security:
- authorization: []
tags:
- name: Users
  description: Operations that create, read, update or disable Users.
paths:
  /rbac/api/v1/users:
    get:
      tags:
      - Users
      summary: List all users
      operationId: listUsers
      parameters:
      - name: q
        in: query
        description: Search query to filter users by email, name, status, or role
        required: false
        schema:
          type: string
      - name: search_query
        in: query
        description: Alternative parameter name for search query (for backward compatibility)
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: Filter users by status. By default, deleted users are excluded. Use 'all' to include deleted users.
        required: false
        schema:
          type: string
          enum:
          - all
          default: active
      responses:
        '200':
          description: Array of users
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
    post:
      tags:
      - Users
      summary: Create a new user
      operationId: createUser
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDetail'
      responses:
        '200':
          description: Creation status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
  /rbac/api/v1/users/byIds:
    post:
      tags:
      - Users
      summary: Get user objects by ID list (bulk)
      operationId: getUsersByIds
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserIdArray'
      responses:
        '200':
          description: Array of user detail objects
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDetail'
  /rbac/api/v1/users/disable:
    patch:
      tags:
      - Users
      summary: Disable one or many users by ID
      operationId: disableUsers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisableUsersRequest'
      responses:
        '200':
          description: Status per user
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    user_id:
                      type: string
                      format: uuid
                    status:
                      type: string
  /rbac/api/v1/users/enable:
    patch:
      tags:
      - Users
      summary: Enable one or many users by ID
      operationId: enableUsers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisableUsersRequest'
      responses:
        '200':
          description: Status per user
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    user_id:
                      type: string
                      format: uuid
                    status:
                      type: string
  /rbac/api/v1/users/{id}:
    patch:
      tags:
      - Users
      summary: Update user attributes
      operationId: updateUser
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDetail'
      responses:
        '200':
          description: Update status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
    delete:
      tags:
      - Users
      summary: Delete a user
      operationId: deleteUser
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: User deleted successfully
        '404':
          description: User not found
        '500':
          description: Internal server error
  /rbac/api/v1/users/{id}/role:
    get:
      tags:
      - Users
      summary: Get user's current role
      operationId: getUserRole
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: User's current role
          content:
            application/json:
              schema:
                type: object
                properties:
                  user_id:
                    type: string
                    format: uuid
                  role:
                    type: string
                    enum:
                    - admin
                    - viewer
                required:
                - user_id
                - role
        '404':
          description: User not found
  /rbac/api/v1/users/role:
    get:
      tags:
      - Users
      summary: Get current authenticated user's role
      operationId: getCurrentUserRole
      responses:
        '200':
          description: Current user's role
          content:
            application/json:
              schema:
                type: object
                properties:
                  user_id:
                    type: string
                    format: uuid
                  role:
                    type: string
                    enum:
                    - admin
                    - viewer
                required:
                - user_id
                - role
        '401':
          description: Unauthorized - authentication required
        '404':
          description: User not found
  /rbac/api/v1/users/resend-invite:
    post:
      tags:
      - Users
      summary: Resend an invitation email
      operationId: resendUserInvite
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendInviteRequest'
      responses:
        '200':
          description: Status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
  /rbac/api/v1/users/search:
    get:
      tags:
      - Users
      summary: Search users by free‑text query
      operationId: searchUsers
      parameters:
      - name: search_query
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Array of users matching query
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
  /rbac/api/v1/users/{userId}:
    get:
      tags:
      - Users
      summary: Get a specific user by ID
      operationId: getUserByID
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: User details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '404':
          description: User not found
  /rbac/api/v1/users/{userId}/roles:
    get:
      tags:
      - Users
      summary: List roles for a user
      operationId: listUserRoles
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Array of roles assigned to the user
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Role'
    post:
      tags:
      - Users
      summary: Assign role to user
      operationId: assignRoleToUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignRoleRequest'
      responses:
        '200':
          description: Assignment status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
  /rbac/api/v1/users/{userId}/roles/{roleId}:
    delete:
      tags:
      - Users
      summary: Revoke role from user
      operationId: revokeRoleFromUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: roleId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Revocation status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
components:
  schemas:
    StatusResponse:
      type: object
      properties:
        status:
          type: string
          example: ok
      required:
      - status
    Role:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - name
      - created_at
      - updated_at
    UserDetail:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          format: email
        role:
          type: string
          enum:
          - admin
          - viewer
        user_groups_ids:
          type: array
          items:
            type: string
            format: uuid
        userGroups:
          type: array
          items:
            type: string
            format: uuid
        accountGroups:
          type: array
          items:
            type: string
            format: uuid
      required:
      - id
    ResendInviteRequest:
      type: object
      properties:
        email_address:
          type: string
          format: email
      required:
      - email_address
    AssignRoleRequest:
      type: object
      properties:
        role_id:
          type: string
          format: uuid
      required:
      - role_id
    UserIdArray:
      type: array
      items:
        type: string
        format: uuid
    User:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          format: email
        last_logged_in:
          type:
          - string
          - 'null'
          format: date-time
        status:
          type: string
          enum:
          - active
          - disabled
          - invited
        role:
          type: string
          enum:
          - admin
          - viewer
        user_groups:
          type: array
          items:
            type: string
            description: User‑friendly name of the group
        account_groups:
          type: array
          items:
            type: string
            description: User‑friendly name of the account group
      required:
      - id
      - email
      - status
      - role
    DisableUsersRequest:
      type: array
      items:
        type: string
        format: uuid
  securitySchemes:
    authorization:
      type: http
      scheme: bearer
      description: 'A personal access token (PAT) sent as `Authorization: Bearer <token>`. Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`.'
    bearerAuth:
      type: http
      scheme: bearer
      description: Integration channel token issued by Elastio for inbound partner events (Wiz).
externalDocs:
  description: Elastio Developer Portal
  url: https://developer.elastio.com
x-tagGroups:
- name: Platform
  tags:
  - System
  - Tenant Settings
  - Licenses
  - Plan
  - Billing
  - Early Access
  - AI Provider Credentials
- name: Identity & Access
  tags:
  - Users
  - User Groups
  - Roles
  - Account Groups
  - Personal Access Tokens
  - Audit Logs
- name: Inventory & Deployments
  tags:
  - Deployments
  - Assets
  - Search
  - Inventory
  - Asset Accounts
  - Tags
  - Azure Subscriptions
  - GCP Projects
  - IBM
  - OVA Accounts
  - Vault
  - Database Monitoring
  - Data
- name: Backups & Recovery Points
  tags:
  - Backup
- name: Hunts & Investigations
  tags:
  - Scans
  - Scan Jobs
  - Hunt Rules
  - Custom Hunts
  - Pursuit
  - Pursuit Scans
  - Threats
  - Ransomware
  - Data Classification
- name: Findings & Response
  tags:
  - Incidents
  - Findings
  - Violations
  - Issues
  - Posture
  - Compliance
  - DRS
- name: Policies & Jobs
  tags:
  - Policies
  - Policy Schedules
  - Policy Membership
  - System Policies
  - System Events
  - Jobs
- name: Recovery & Evidence
  tags:
  - Resilience Program
  - Recovery Verdict
  - Recovery Analytics
  - Evidence
  - Security Metrics
- name: Reporting
  tags:
  - Reports
  - Report Schedules
  - EQL
- name: Alerts & Integrations
  tags:
  - Alerts
  - Webhooks
  - Slack
  - Splunk
  - VirusTotal
  - Wiz
  - GuardDuty