Auth0 Rules API

The rules API from Auth0 — 2 operation(s) for rules.

GitHub OpenAPI

Operations 5

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

GET /rules List rules · Get rules #
Ask an LLM
“Which rules run during login in my tenant?”
“Can I list only enabled rules?”
Tell an agent
List my rules.
List rules where enabled is {enabled}.
POST /rules Create a rule · Create a rule #
Ask an LLM
“How do I add a rule script that runs on login?”
“Can I set the execution order when creating a rule?”
Tell an agent
Create rule {name} with script {script}.
Create rule {name} running {script} at order {order}.
GET /rules/{id} Get a rule by ID · Get a rule #
Ask an LLM
“Can I read the script of a specific rule?”
“What order and enabled state does one rule have?”
Tell an agent
Show rule {id}.
Get the script of rule {id}.
DELETE /rules/{id} Delete a rule · Delete a rule #
Ask an LLM
“How do I delete a rule?”
“Can I remove a login rule I no longer need?”
Tell an agent destructive · confirm first
Delete rule {id}.
Remove rule {id} from the tenant.
PATCH /rules/{id} Update a rule · Update a rule #
Ask an LLM
“Can I disable a rule without deleting it?”
“How do I change a rule's script or position in the order?”
Tell an agent
Set enabled to {enabled} on rule {id}.
Replace the script of rule {id} with {script}.

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/auth0:auth0-rules-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

auth0-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Auth0 Management Rules API
  description: Auth0 Management API v2.
  termsOfService: https://auth0.com/web-terms/
  contact:
    name: Auth0 Support
    url: https://support.auth0.com
  version: '2.0'
servers:
- url: https://{tenantDomain}/api/v2
  variables:
    tenantDomain:
      default: '{TENANT}.auth0.com'
      description: Auth0 Tenant Domain
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/auth0/openapi/auth0-rules-api-openapi.yml