Equinix · Capability

Equinix API Authentication — OAuth2 Token

Equinix API Authentication — OAuth2 Token. 2 operations. Lead operation: Renew Access Tokens. Self-contained Naftiko capability covering one Equinix business surface.

Run with Naftiko EquinixOAuth2 Token

What You Can Do

POST
Refreshoauth2accesstoken — Renew Access Tokens
/v1/oauth2/v1/refreshaccesstoken
POST
Getoauth2accesstoken — Generate New Access Token
/v1/oauth2/v1/token

MCP Tools

renew-access-tokens

Renew Access Tokens

generate-new-access-token

Generate New Access Token

Capability Spec

accesstoken-oauth2-token.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Equinix API Authentication — OAuth2 Token
  description: 'Equinix API Authentication — OAuth2 Token. 2 operations. Lead operation: Renew Access Tokens. Self-contained
    Naftiko capability covering one Equinix business surface.'
  tags:
  - Equinix
  - OAuth2 Token
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EQUINIX_API_KEY: EQUINIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: accesstoken-oauth2-token
    baseUri: https://api.equinix.com
    description: Equinix API Authentication — OAuth2 Token business capability. Self-contained, no shared references.
    resources:
    - name: oauth2-v1-refreshaccesstoken
      path: /oauth2/v1/refreshaccesstoken
      operations:
      - name: refreshoauth2accesstoken
        method: POST
        description: Renew Access Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: oauth2-v1-token
      path: /oauth2/v1/token
      operations:
      - name: getoauth2accesstoken
        method: POST
        description: Generate New Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: accesstoken-oauth2-token-rest
    port: 8080
    description: REST adapter for Equinix API Authentication — OAuth2 Token. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/oauth2/v1/refreshaccesstoken
      name: oauth2-v1-refreshaccesstoken
      description: REST surface for oauth2-v1-refreshaccesstoken.
      operations:
      - method: POST
        name: refreshoauth2accesstoken
        description: Renew Access Tokens
        call: accesstoken-oauth2-token.refreshoauth2accesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/oauth2/v1/token
      name: oauth2-v1-token
      description: REST surface for oauth2-v1-token.
      operations:
      - method: POST
        name: getoauth2accesstoken
        description: Generate New Access Token
        call: accesstoken-oauth2-token.getoauth2accesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: accesstoken-oauth2-token-mcp
    port: 9090
    transport: http
    description: MCP adapter for Equinix API Authentication — OAuth2 Token. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: renew-access-tokens
      description: Renew Access Tokens
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: accesstoken-oauth2-token.refreshoauth2accesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: generate-new-access-token
      description: Generate New Access Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: accesstoken-oauth2-token.getoauth2accesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.