delegate-profilesng

Updates the scoping rules inside the delegate profile

Request
Security:
ApiKey (readwrite)
path Parameters
delegateProfileId
required
string
query Parameters
accountId
string
orgId
string
projectId
string
Request Body schema: */*
Array
description
string
environmentTypeId
string
environmentIds
Array of strings unique
Responses
200

successful operation

put/ng/api/delegate-profiles/ng/{delegateProfileId}/scoping-rules
Request samples
curl -i -X PUT \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng/:delegateProfileId/scoping-rules?accountId=string&orgId=string&projectId=string' \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": {
    },
  • "responseMessages": [
    ]
}

Updates the selectors inside the delegate profile

Request
Security:
ApiKey (readwrite)
path Parameters
delegateProfileId
required
string
query Parameters
accountId
string
orgId
string
projectId
string
Request Body schema: */*
Array
string
Responses
200

successful operation

put/ng/api/delegate-profiles/ng/{delegateProfileId}/selectors
Request samples
curl -i -X PUT \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng/:delegateProfileId/selectors?accountId=string&orgId=string&projectId=string' \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d string
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": {
    },
  • "responseMessages": [
    ]
}

Lists the delegate profiles

Request
Security:
ApiKey (readwrite)
query Parameters
offset
string
Default: "0"
limit
string
fieldsIncluded
Array of strings
fieldsExcluded
Array of strings
accountId
string
orgId
string
projectId
string
Responses
200

successful operation

get/ng/api/delegate-profiles/ng
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng?offset=0&limit=string&fieldsIncluded=string&fieldsExcluded=string&accountId=string&orgId=string&projectId=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": [
    ],
  • "responseMessages": [
    ]
}

Adds a delegate profile

Request
Security:
ApiKey (readwrite)
query Parameters
accountId
string
orgId
string
projectId
string
Request Body schema: */*
uuid
string
accountId
string
name
string
description
string
primary
boolean
approvalRequired
boolean
startupScript
string
Array of objects (ScopingRuleDetailsNg)
selectors
Array of strings
object (EmbeddedUserDetails)
object (EmbeddedUserDetails)
createdAt
integer <int64>
lastUpdatedAt
integer <int64>
identifier
string
numberOfDelegates
integer <int64>
orgIdentifier
string
projectIdentifier
string
Responses
200

successful operation

post/ng/api/delegate-profiles/ng
Request samples
curl -i -X POST \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng?accountId=string&orgId=string&projectId=string' \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": {
    },
  • "responseMessages": [
    ]
}

Gets delegate profile

Request
Security:
ApiKey (readwrite)
path Parameters
delegateProfileId
required
string
query Parameters
accountId
string
orgId
string
projectId
string
Responses
200

successful operation

get/ng/api/delegate-profiles/ng/{delegateProfileId}
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng/:delegateProfileId?accountId=string&orgId=string&projectId=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": {
    },
  • "responseMessages": [
    ]
}

Updates a delegate profile

Request
Security:
ApiKey (readwrite)
path Parameters
delegateProfileId
required
string
query Parameters
accountId
string
orgId
string
projectId
string
Request Body schema: */*
uuid
string
accountId
string
name
string
description
string
primary
boolean
approvalRequired
boolean
startupScript
string
Array of objects (ScopingRuleDetailsNg)
selectors
Array of strings
object (EmbeddedUserDetails)
object (EmbeddedUserDetails)
createdAt
integer <int64>
lastUpdatedAt
integer <int64>
identifier
string
numberOfDelegates
integer <int64>
orgIdentifier
string
projectIdentifier
string
Responses
200

successful operation

put/ng/api/delegate-profiles/ng/{delegateProfileId}
Request samples
curl -i -X PUT \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng/:delegateProfileId?accountId=string&orgId=string&projectId=string' \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": {
    },
  • "responseMessages": [
    ]
}

Deletes a delegate profile

Request
Security:
ApiKey (readwrite)
path Parameters
delegateProfileId
required
string
query Parameters
accountId
string
orgId
string
projectId
string
Responses
200

successful operation

delete/ng/api/delegate-profiles/ng/{delegateProfileId}
Request samples
curl -i -X DELETE \
  'https://app.harness.io/gateway/ng/api/delegate-profiles/ng/:delegateProfileId?accountId=string&orgId=string&projectId=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "metaData": {
    },
  • "resource": { },
  • "responseMessages": [
    ]
}