H2O.ai Permissions API

The Permissions API from H2O.ai — 24 operation(s) for permissions.

Operations 34

POST /collections/{collection_id}/permissions/is_granted Checks if collection permission is granted for a given user #
PUT /documents/{document_id}/users/{user_id} Associates a user with a document they have permission on #
GET /users Returns a list of all registered users for the system #
GET /users/{user_id} Finds user for a given unique identifier #
GET /users/{user_id}/permissions Lists permissions of a given user #
DELETE /users/current Request deletion of the current user #
POST /users/current/confirm-delete Confirm deletion of the current user #
GET /users/current/permissions Lists permissions of the user calling the endpoint #
GET /users/{user_id}/roles Finds roles associated with a given user #
DELETE /users/{user_id}/roles Resets user roles #
GET /users/current/roles Finds roles associated with the user calling the endpoint #
PUT /users/{user_id}/roles/{role_names} Assigns roles to a given user #
DELETE /users/{user_id}/roles/{role_names} Removes roles from a given user #
GET /groups Returns a list of all groups existing on the H2OGPTe instance #
POST /groups Creates a user group #
DELETE /groups Deletes groups for given group names #
DELETE /groups/{group_ids} Deletes groups for given unique identifiers #
GET /groups/{group_id}/roles Finds roles associated with a given group #
DELETE /groups/{group_id}/roles Resets group roles #
PUT /groups/{group_id}/roles/{role_names} Assigns roles to a given group #
DELETE /groups/{group_id}/roles/{role_names} Removes roles from a given group #
GET /group/{group_id}/permissions Lists permissions of a given group #
POST /roles Creates a role #
GET /roles Returns all roles for in the H2OGPTe instance #
DELETE /roles Deletes roles for given role names #
GET /roles/{role_id} Finds role for a given unique identifier #
DELETE /roles/{role_ids} Deletes roles for given unique identifiers #
GET /roles/{role_id}/permissions Lists permissions of a given role #
POST /roles/{role_id}/permissions Sets a new set of permissions for a given role #
PUT /roles/{role_id}/permissions/{permission_name} Assigns permission to a given role #
DELETE /roles/{role_id}/permissions/{permission_name} Removes permission from a given role #
PUT /roles/{role_id}/priority Sets priority for a given role #
GET /permissions Returns system permissions #
POST /permissions/is_granted Checks if permission is granted for a given 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/h2o-ai-permissions-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

h2o-ai-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: h2oGPTe REST Permissions API
  description: '# Overview


    Users can easily interact with the h2oGPTe API through its REST API, allowing HTTP requests from any programming language.'
  version: v1.0.0
servers:
- url: https://h2ogpte.genai.h2o.ai/api/v1
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/h2o-ai/refs/heads/main/openapi/h2o-ai-permissions-api-openapi.yml