FusionAuth Entity API

The Entity API from FusionAuth — 10 operation(s) for entity.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 24

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/entity Create an entity · Create entity #
Ask an LLM
“How do I create a new entity like a team or group?”
“Can I give an entity a custom ID when I create it?”
Tell an agent
Create entity {entity}.
Create a new entity with the details {entity}.
POST /api/entity/grant/search Search entity grants · Search entity grants with id #
Ask an LLM
“Which entities have been granted to which users?”
“Can I search entity grants with a search body?”
Tell an agent
Search entity grants with {search}.
Find the entity grants matching {search}.
POST /api/entity/search Search entities · Search entities with id #
Ask an LLM
“How do I search entities with a search body?”
“Can I page through entity search results?”
Tell an agent
Search entities with {search}.
Find entities matching {search}.
GET /api/entity/search Get entities by ID · Search entities by ids with id #
Ask an LLM
“How do I fetch several entities at once by their IDs?”
“What happens if one of the entity IDs I pass is invalid?”
Tell an agent
Get entities {ids}.
Fetch the entities with IDs {ids}.
POST /api/entity/type Create an entity type · Create entity type #
Ask an LLM
“How do I create a new entity type like a department or role?”
“Can I add a permission to an entity type when I create it?”
Tell an agent
Create entity type {entityType}.
Create entity type {entityType} with permission {permission}.
POST /api/entity/type/search Search entity types · Search entity types with id #
Ask an LLM
“How do I search entity types with a search body?”
“Can I find entity types that match certain criteria?”
Tell an agent
Search entity types with {search}.
Find entity types matching {search}.
POST /api/entity/type/{entityTypeId} Create an entity type with a chosen ID · Create entity type with id #
Ask an LLM
“How can I register a new entity type under an ID I pick myself?”
“Can I supply my own UUID when making an entity type in FusionAuth?”
Tell an agent
Make a new entity type using the ID {entityTypeId}.
Set up entity type ID {entityTypeId} named {entityType}, including the permission {permission}.
DELETE /api/entity/type/{entityTypeId} Delete an entity type · Delete entity type with id #
Ask an LLM
“How do I delete an entity type?”
“Is deleting an entity type permanent?”
Tell an agent destructive · confirm first
Delete entity type {entityTypeId}.
Remove the entity type {entityTypeId}.
PATCH /api/entity/type/{entityTypeId} Patch an entity type · Patch entity type with id #
Ask an LLM
“How do I partially update an entity type's name or description?”
“Can I patch an entity type without replacing it entirely?”
Tell an agent
Patch entity type {entityTypeId} with {entityType}.
Patch the description of entity type {entityTypeId}.
GET /api/entity/type/{entityTypeId} Get an entity type · Retrieve entity type with id #
Ask an LLM
“How do I look up one entity type by its ID?”
“What permissions does a given entity type have?”
Tell an agent
Get entity type {entityTypeId}.
Show the permissions of entity type {entityTypeId}.
PUT /api/entity/type/{entityTypeId} Replace an entity type · Update entity type with id #
Ask an LLM
“How do I replace an entire entity type definition?”
“Can I overwrite an entity type's permissions in full?”
Tell an agent
Replace entity type {entityTypeId} with {entityType}.
Overwrite entity type {entityTypeId} with {entityType} and permission {permission}.
POST /api/entity/type/{entityTypeId}/permission Add a permission to an entity type · Create entity type permission #
Ask an LLM
“How do I add a new permission to an existing entity type?”
“Can I create a permission on an entity type by its ID?”
Tell an agent
Add permission {permission} to entity type {entityTypeId}.
Create a permission on entity type {entityTypeId} with {permission}.
POST /api/entity/type/{entityTypeId}/permission/{permissionId} Add a permission to an entity type · Create entity type permission with id #
Ask an LLM
“How do I grant a permission to a specific entity type by ID?”
“Can I give a new entity type permission a custom ID?”
Tell an agent
Create permission {permissionId} on entity type {entityTypeId}.
Add permission {permissionId} to {entityTypeId} with details {permission}.
DELETE /api/entity/type/{entityTypeId}/permission/{permissionId} Permanently delete an entity type permission · Delete entity type permission with id #
Ask an LLM
“How do I hard delete a permission from an entity type?”
“What happens to existing grants when I delete an entity type permission?”
Tell an agent destructive · confirm first
Hard delete permission {permissionId} from entity type {entityTypeId}.
Strip permission {permissionId} out of every grant by deleting it from {entityTypeId}.
PATCH /api/entity/type/{entityTypeId}/permission/{permissionId} Patch an entity type permission · Patch entity type permission with id #
Ask an LLM
“How do I rename or edit a single permission on an entity type?”
“Can I partially update an entity type permission?”
Tell an agent
Patch permission {permissionId} on entity type {entityTypeId} with {permission}.
Rename entity type {entityTypeId} permission {permissionId}.
PUT /api/entity/type/{entityTypeId}/permission/{permissionId} Replace an entity type permission · Update entity type permission with id #
Ask an LLM
“How do I replace an existing permission on an entity type?”
“Can I overwrite a single entity type permission by its ID?”
Tell an agent
Replace permission {permissionId} on entity type {entityTypeId} with {permission}.
Overwrite entity type {entityTypeId} permission {permissionId}.
POST /api/entity/{entityId} Create an entity · Create entity with id #
Ask an LLM
“How do I create a new entity when I want to choose its ID?”
“Can I create an entity and add it to a tenant?”
Tell an agent
Create entity {entityId} with details {entity}.
Create entity {entityId} for tenant {tenant}.
DELETE /api/entity/{entityId} Delete an entity · Delete entity with id #
Ask an LLM
“How do I permanently remove an entity?”
“Is deleting an entity by ID reversible?”
Tell an agent destructive · confirm first
Delete entity {entityId}.
Permanently remove the {entity} entity.
PATCH /api/entity/{entityId} Update an entity · Patch entity with id #
Ask an LLM
“How do I change an entity's attributes?”
“Can I patch an entity by its ID?”
Tell an agent
Update entity {entityId} with {entity}.
Patch the attributes of entity {entityId}.
GET /api/entity/{entityId} Get an entity · Retrieve entity with id #
Ask an LLM
“How do I look up an entity by its ID?”
“What details come back for a single entity?”
Tell an agent
Get entity {entityId}.
Show the details of entity {entityId}.
PUT /api/entity/{entityId} Replace an entity · Update entity with id #
Ask an LLM
“How do I replace an entire entity's details?”
“Can I overwrite an entity's name and description in full?”
Tell an agent
Replace entity {entityId} with {entity}.
Overwrite entity {entityId} with {entity}.
DELETE /api/entity/{entityId}/grant Revoke an entity grant · Delete entity grant with id #
Ask an LLM
“How do I take away a user's access to an entity?”
“Can I delete an entity grant by the recipient?”
Tell an agent destructive · confirm first
Delete the entity grant for user {userId} on {entityId}.
Revoke entity grant {entityId} for recipient {recipientEntityId}.
GET /api/entity/{entityId}/grant Get a user's entity grant · Retrieve entity grant with id #
Ask an LLM
“What permissions has a user been granted on an entity?”
“Can I look up an entity grant by the recipient?”
Tell an agent
Get the entity grant for user {userId} on entity {entityId}.
Show entity grant {entityId} for recipient {recipientEntityId}.
POST /api/entity/{entityId}/grant Grant permissions to an entity for a user · Upsert entity grant with id #
Ask an LLM
“How do I give a user access to an entity by ID?”
“Can I create or update an entity grant in one call?”
Tell an agent
Grant {grant} to entity {entityId}.
Create or update the access grant {grant} on entity {entityId}.

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/fusionauth:fusionauth-entity-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

fusionauth-entity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.66.0
  title: FusionAuth Entity API
  description: This is a FusionAuth server. Find out more at https://fusionauth.io. You need to set up an API key in the FusionAuth instance you are using to test out the API calls.
  license:
    name: Apache2
servers:
- url: http://localhost:9011
- url: https://sandbox.fusionauth.io
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/fusionauth/openapi/fusionauth-entity-api-openapi.yml