Harness Delegate Token Resource API

Contains APIs related to Delegate Token management

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ng/api/delegate-token-ng List delegate tokens · Retrieves Delegate Tokens by Account, Organization, Project and status #
Ask an LLM
“Which delegate tokens exist in my Harness project?”
“Can I list only revoked or only active delegate tokens?”
Tell an agent
List delegate tokens in project {project}.
Show delegate tokens with status {status}.
PUT /ng/api/delegate-token-ng Revoke a delegate token · Revokes Delegate Token #
Ask an LLM
“How do I revoke a delegate token that may have leaked?”
“Can I stop delegates from authenticating with a specific token?”
Tell an agent destructive · confirm first
Revoke delegate token {tokenName}.
Revoke delegate token {tokenName} in project {project}.
POST /ng/api/delegate-token-ng Create a delegate token · Creates Delegate Token #
Ask an LLM
“How do I generate a new token for installing Harness delegates?”
“Can a delegate token be set to revoke itself automatically after a time?”
Tell an agent
Create delegate token {tokenName}.
Create delegate token {tokenName} that revokes after {revokeAfter}.
DELETE /ng/api/delegate-token-ng Delete a revoked delegate token · Deletes a revoked Delegate Token #
Ask an LLM
“How do I permanently delete a delegate token after revoking it?”
“Can I delete a delegate token that is still active?”
Tell an agent destructive · confirm first
Delete the revoked delegate token {tokenName}.
Permanently remove revoked token {tokenName} from project {project}.
GET /ng/api/delegate-token-ng/delegate-groups List delegate groups using a token · Lists delegate groups that are using the specified delegate token #
Ask an LLM
“Which delegate groups are still using a given token?”
“What will break if I revoke this delegate token?”
Tell an agent
List delegate groups using token {delegateTokenName}.
Show which delegates in project {project} use token {delegateTokenName}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/harness:harness-delegate-token-resource-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

harness-delegate-token-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Delegate Token Resource API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-delegate-token-resource-api-openapi.yml