Delegate Setup Resource
Contains Delegate Setup APIs
Identifier for the Entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully deleted delegate
Bad Request
Internal server error
DELETE /gateway/ng/api/delegate-setup/delegate/{delegateIdentifier}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"responseMsg": "text"
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully deleted delegate image tag override
No content
Bad Request
Internal server error
DELETE /gateway/ng/api/delegate-setup/delete-delegate-override?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
No content
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully generated terraform module file
No content
Bad Request
Internal server error
GET /gateway/ng/api/delegate-setup/delegate-terraform-module-file?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
No content
Generates helm values yaml file from the data specified in request body (Delegate setup details).
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Currently KUBERNETES and HELM_DELEGATE are supported.
Successfully generated helm values yaml file
No content
Bad Request
Internal server error
POST /gateway/ng/api/delegate-setup/generate-helm-values?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 340
{
"orgIdentifier": "text",
"projectIdentifier": "text",
"name": "text",
"description": "text",
"size": "LAPTOP",
"hostName": "text",
"delegateConfigurationId": "text",
"identifier": "text",
"k8sConfigDetails": {
"k8sPermissionType": "CLUSTER_ADMIN",
"namespace": "text"
},
"tags": [
"text"
],
"delegateType": "text",
"tokenName": "text",
"runAsRoot": true,
"version": "text"
}No content
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully retrieved list of delegate overrides
Bad Request
Internal server error
GET /gateway/ng/api/delegate-setup/override-delegate-tag?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"versionOverrides": [
{
"version": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"parentUniqueId": "text",
"tags": [
"text"
],
"validTillNextRelease": true,
"validUntil": "2026-01-01T00:00:00.000Z",
"overrideType": "text"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
if provided, will override the image for all delegates which have all the provided tags
If set to true, harness will override your custom tag when new delegate is released
falsedays after which harness will override your custom tag
180Successfully overridden delegate image tag
Bad Request
Internal server error
PUT /gateway/ng/api/delegate-setup/override-delegate-tag?accountIdentifier=text&delegateTag=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
textAccount Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Filter delegates based on the scope (query param: all), if true will return delegates of underlying orgs/projects and ignore the filters provided as part of the request body
falseProperties to filter delegates
Filter on delegate connectivity
Filter on delegate description
Filter on delegate hostName
Filter on delegate name
Filter on delegate type
Filter on delegate group id
Filter on delegate tags
Filter on delegate instance status
Filter on delegate auto upgrade
Filter on delegate version status
Filter for Delegate 3.x
This specifies the corresponding Entity of the filter.
Successfully retrieved list of delegates
Bad Request
Internal server error
POST /gateway/ng/api/delegate-setup/listDelegates?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 325
{
"status": "CONNECTED",
"description": "text",
"hostName": "text",
"delegateName": "text",
"delegateType": "text",
"delegateGroupIdentifier": "text",
"delegateTags": [
"text"
],
"delegateInstanceFilter": "EXPIRED",
"autoUpgrade": "text",
"versionStatus": "EXPIRED",
"runner": true,
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"filterType": "Connector"
}{
"type": "text",
"name": "text",
"description": "text",
"tags": [
"text"
],
"lastHeartBeat": 1,
"connected": true,
"delegateReplicas": [
{
"uuid": "text",
"lastHeartbeat": 1,
"connected": true,
"hostName": "text",
"version": "text",
"expiringAt": 1,
"status": "text",
"runner": true
}
],
"autoUpgrade": "ON",
"legacy": true,
"orgName": "text",
"projectName": "text"
}Gets the latest supported delegate version. The version has YY.MM.XXXXX format. You can use any version lower than the returned results(upto 3 months old)
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully retrieved the latest supported delegate version
Bad Request
Internal server error
GET /gateway/ng/api/delegate-setup/latest-supported-version?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"latestSupportedVersion": "text",
"latestSupportedMinimalVersion": "text"
}Last updated
Was this helpful?