Cisco Hardware Authentication API

The Authentication API from Cisco Hardware — 1 operation(s) for authentication.

OpenAPI Specification

cisco-hardware-authentication-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Cisco Catalyst Center (DNA Center) Intent Authentication API
  description: 'The Cisco Catalyst Center (formerly DNA Center) Intent API provides

    programmatic management of Cisco enterprise network hardware, including

    discovery, inventory, provisioning, assurance, software image

    management, sites, and command runner. Authentication uses a basic-auth

    token exchange against /dna/system/api/v1/auth/token; the returned

    token is sent on subsequent requests as the X-Auth-Token header.

    '
  version: 1.0.0
  contact:
    name: Cisco DevNet
    url: https://developer.cisco.com/docs/dna-center/
servers:
- url: https://{controllerHost}
  variables:
    controllerHost:
      default: sandboxdnac.cisco.com
      description: Host of the Catalyst Center controller
security:
- tokenAuth: []
tags:
- name: Authentication
paths:
  /dna/system/api/v1/auth/token:
    post:
      tags:
      - Authentication
      summary: Obtain an access token (valid for 1 hour)
      operationId: authenticate
      security:
      - basicAuth: []
      responses:
        '200':
          description: Authentication token
          content:
            application/json:
              schema:
                type: object
                properties:
                  Token:
                    type: string
        '401':
          description: Invalid credentials
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    tokenAuth:
      type: apiKey
      in: header
      name: X-Auth-Token