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

Rancher Tokens API

API tokens used to authenticate against the Rancher API.

Rancher Tokens API is one of 8 APIs that Rancher publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Tokens. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, a JSON-LD context, and 6 JSON Schemas.

This API exposes 2 operations across 1 path. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against 2 base URLs: https://{rancher_host}/v3, https://{rancher_host}/k8s/clusters/{cluster_id}.

2 operations 1 paths 0 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://{rancher_host}/v3
Authentication
HTTP Bearer
License
Resource Areas
1

Authentication & Security 1

Rancher Tokens API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (token-XXXXX:secret) (BearerAuth).

Paths & Operations 2

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

Tokens 2

API tokens used to authenticate against the Rancher API.

GET
/tokens
List tokens
listTokens → 200
POST
/tokens
Create a token
createToken → 201

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rancher-tokens-api-openapi.yml Raw ↑

Other APIs Rancher publishes across the network.

Rancher Apps API
Rancher Catalogs API
Rancher Clusters API
Rancher Nodes API
Rancher Projects API
Rancher Roles API
Rancher Users API