Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juniper Networks Authentication API

User login, logout, and token management.

Juniper Networks Authentication API is one of 35 APIs that Juniper Networks publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, an AsyncAPI specification, and 4 JSON Schemas.

This API exposes 5 operations across 4 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 4.2.

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

5 operations 4 paths 3 schemas 2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
4.2
Base URL
https:///api
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Juniper Networks Authentication API declares 1 security scheme for authenticating requests. An API key is passed in the header as AuthToken (authToken). By default, every request must be authenticated.

  • authToken — Authentication token obtained from POST /api/aaa/login. Include in the AuthToken header for all authenticated API requests.

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 2 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Authentication 5

User login, logout, and token management.

POST
/aaa/login
Juniper Networks Authenticate and obtain token
login body → 201401
POST
/aaa/logout
Juniper Networks Logout and invalidate token
logout → 200
GET
/self
Juniper Networks Get current user information
getSelf → 200401
GET
/self/apitokens
Juniper Networks List API tokens
listApiTokens → 200401
POST
/self/apitokens
Juniper Networks Create API token
createApiToken → 200401

Schemas 3

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

Admin
object
4 properties
ApiToken
object
4 properties
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-networks-authentication-api-openapi.yml Raw ↑

Other APIs Juniper Networks publishes across the network.

Junos PyEZ
Junos XML API
Juniper JSNAPy
Juniper Networks Alarms API
Juniper Networks Anomalies API
Juniper Networks BGP Routers API
Juniper Networks Blueprints API
Juniper Networks Clients API
Juniper Networks Configuration API
Juniper Networks Design API
Juniper Networks Devices API
Juniper Networks Floating IPs API