How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ory Identity (Admin) API

Privileged Kratos identity and session management.

Ory Identity (Admin) API is one of 22 APIs that Ory publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Identity (Admin). The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 17 operations across 10 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://{project-slug}.projects.oryapis.com, https://api.console.ory.sh.

17 operations 10 paths 4 schemas 4 DELETE6 GET3 PATCH3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://{project-slug}.projects.oryapis.com
Authentication
HTTP Bearer
Contact
License
Resource Areas
1

Authentication & Security 1

Ory Identity (Admin) API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (oryApiKey). By default, every request must be authenticated.

  • oryApiKey — Ory API key. Project admin endpoints use an Ory project API key (orypat...); Console endpoints use a workspace API key (orywak...). Passed as Authorization: Be…

Paths & Operations 17

Across 10 paths, the API surfaces 17 operations — 4 DELETE, 6 GET, 3 PATCH, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Identity (Admin) 17

Privileged Kratos identity and session management.

GET
/admin/identities
List identities
listIdentities → 200401
POST
/admin/identities
Create an identity
createIdentity body → 201409
PATCH
/admin/identities
Create and delete identities in a batch
batchPatchIdentities body → 200
GET
/admin/identities/{id}
Get an identity
getIdentity 1 param → 200404
PUT
/admin/identities/{id}
Replace an identity
updateIdentity 1 param body → 200
PATCH
/admin/identities/{id}
Patch an identity (JSON Patch)
patchIdentity 1 param body → 200
DELETE
/admin/identities/{id}
Delete an identity
deleteIdentity 1 param → 204
GET
/admin/identities/by/external/{externalID}
Get an identity by external ID
getIdentityByExternalID 1 param → 200
DELETE
/admin/identities/{id}/credentials/{type}
Delete a credential of an identity
deleteIdentityCredentials 2 params → 204
GET
/admin/identities/{id}/sessions
List an identity's sessions
listIdentitySessions 1 param → 200
DELETE
/admin/identities/{id}/sessions
Revoke all of an identity's sessions
deleteIdentitySessions 1 param → 204
GET
/admin/sessions
List all sessions
listSessions → 200
GET
/admin/sessions/{id}
Get a session
getSession 1 param → 200
DELETE
/admin/sessions/{id}
Deactivate a session
disableSession 1 param → 204
PATCH
/admin/sessions/{id}/extend
Extend a session
extendSession 1 param → 200
POST
/admin/recovery/code
Create a recovery code for an identity
createRecoveryCodeForIdentity body → 201
POST
/admin/recovery/link
Create a recovery link for an identity
createRecoveryLinkForIdentity body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Identity (7 properties), Session (5 properties), IdentityInput (4 properties), Error (1 property). Each schema is shown below with its type and property counts.

Identity
object
7 properties
Session
object
5 properties
Error
object
1 property
IdentityInput
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ory-identity-admin-api-openapi.yml Raw ↑

Other APIs Ory publishes across the network.

Ory api API
Ory courier API
Ory frontend API
Ory identity API
Ory jwk API
Ory metadata API
Ory oAuth2 API
Ory oidc API
Ory permission API
Ory relationship API
Ory wellknown API
Ory Billing API
Where this information came from

This is an independent, third-party profile of Ory Identity (Admin) API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.