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

Elastic Stack (ELK Stack) Authentication API

The Authentication API from Elastic Stack (ELK Stack) — 12 operation(s) for authentication.

Elastic Stack (ELK Stack) Authentication API is one of 132 APIs that Elastic Stack (ELK Stack) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 18 operations across 12 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 1.

Requests are made against a single base URL, https://{{hostname}}/api/v1.

18 operations 12 paths 21 schemas 5 DELETE8 GET5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1
Base URL
https://{elasticsearch_endpoint}
Authentication
API Key, HTTP Basic
Resource Areas
1

Authentication & Security 2

Elastic Stack (ELK Stack) Authentication API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKey). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

Paths & Operations 18

Across 12 paths, the API surfaces 18 operations — 5 DELETE, 8 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Authentication 18
GET
/users/auth
User authentication information
get-authentication-info → 200
POST
/users/auth/_login
Login to ECE
login body → 200302401501502
POST
/users/auth/_logout
Logout from ECE
logout → 200501502
POST
/users/auth/_refresh
Refresh authentication token
refresh-token → 200401501502
GET
/users/auth/keys
Get all API keys
get-api-keys 1 param → 200
POST
/users/auth/keys
Create API key
create-api-key body → 201400
DELETE
/users/auth/keys
Delete API keys
delete-api-keys body → 200
GET
/users/auth/keys/_all
Get all API keys for all users
get-users-api-keys → 200
DELETE
/users/auth/keys/_all
Delete API keys of multiple users
delete-users-api-keys body → 200
GET
/users/auth/keys/{api_key_id}
Get API key
get-api-key 1 param → 200404
DELETE
/users/auth/keys/{api_key_id}
Delete API key
delete-api-key 1 param → 200404
GET
/users/auth/methods
Available authentication methods
methods → 200
POST
/users/auth/saml/_callback
SAML callback
saml-callback body → 302401501502
GET
/users/auth/saml/_init
Initiate SAML protocol
saml-init 2 params → 302501502
GET
/users/{user_id}/auth/keys
Get API key metadata for all keys created by the user
get-user-api-keys 1 param → 200404
DELETE
/users/{user_id}/auth/keys
Delete API keys for a user
delete-user-api-keys 1 param → 200404
GET
/users/{user_id}/auth/keys/{api_key_id}
Get a user API key
get-user-api-key 2 params → 200404
DELETE
/users/{user_id}/auth/keys/{api_key_id}
Delete an API key for a user
delete-user-api-key 2 params → 200404

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are ApiKeyResponse (8 properties), AuthenticationInfo (7 properties), ProjectRoleAssignment (5 properties), DeploymentRoleAssignment (5 properties). Each schema is shown below with its type and property counts.

ProjectRoleAssignment
object
Assignment for a role with project scope.
5 properties 2 required
ApiKeysResponse
object
The response model for the API keys.
2 properties 1 required
OrganizationRoleAssignment
object
Assignment for a role with organization scope.
3 properties 2 required
AvailableAuthenticationMethods
object
Specifies the authentication methods that are enabled on the Elasticsearch cluster. NOTE: When all fields are false, only the Platform admin and Platform viewe…
4 properties 4 required
BasicFailedReplyElement
object
3 properties 2 required
CreateApiKeyRequest
object
The request payload that creates the API keys.
3 properties 1 required
AuthenticationInfo
object
A user's authentication info
7 properties 2 required
UserApiKey
object
The model to specify a user and their API key in a delete request.
2 properties 2 required
EmptyResponse
object
LoginRequest
object
The body of a login request.
3 properties 2 required
LoginState
object
Configure how the API responds after a successful login.
1 property
PlatformRoleAssignment
object
Assignment for a role with platform scope.
1 property 1 required
DeploymentRoleAssignment
object
Assignment for a role with deployment scope.
5 properties 2 required
RoleAssignments
object
Roles assigned to users, API keys or organization invitations. Currently unavailable in self-hosted ECE.
4 properties
ApiKeyResponse
object
The response model for an API key.
8 properties 3 required
ProjectRoleAssignments
object
Assignments for roles with project scope.
5 properties
DeleteUsersApiKeysRequest
object
The request payload that deletes the API keys.
1 property 1 required
BasicFailedReply
object
1 property 1 required
DeleteApiKeysRequest
object
The request payload that deletes the API keys.
1 property 1 required
TokenResponse
object
The response value after a login without redirect configured, or after elevated permissions are enabled or disabled.
2 properties 2 required
SsoAuthenticationMethodInfo
object
Specifies the authentication methods that are enabled on the Elasticsearch cluster. NOTE: When all fields are false, only the Platform admin and Platform viewe…
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elk-stack-authentication-api-openapi.yml Raw ↑

Other APIs Elastic Stack (ELK Stack) publishes across the network.

Elastic Cloud API
Elastic Stack (ELK Stack) Accounts API
Elastic Stack (ELK Stack) Actions API
Elastic Stack (ELK Stack) agent builder API
Elastic Stack (ELK Stack) Alerting API
Elastic Stack (ELK Stack) Alerting V2 API
Elastic Stack (ELK Stack) Analytics API
Elastic Stack (ELK Stack) APM agent configuration API
Elastic Stack (ELK Stack) APM agent keys API
Elastic Stack (ELK Stack) APM annotations API
Elastic Stack (ELK Stack) APM server schema API
Elastic Stack (ELK Stack) APM sourcemaps API
Where this information came from

This is an independent, third-party profile of Elastic Stack (ELK Stack) Authentication 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.