AccountSetting

This contains APIs related to Account Settings as defined in Harness

get

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
type
required
string
Value: "Connector"
Responses
400

Bad Request

500

Internal server error

get/ng/api/account-setting
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/account-setting?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&type=Connector' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

list

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
type
string
Value: "Connector"
Responses
400

Bad Request

500

Internal server error

get/ng/api/account-setting/list
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/account-setting/list?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&type=Connector' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Updates account settings

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:

Details of the AccountSetting to create

accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

config
required
object (AccountSettingConfig)
type
required
string

This is the type of resource for which Account Setting is created.

Value: "Connector"
Responses
400

Bad Request

500

Internal server error

default

Returns created account setting

put/ng/api/account-setting
Request samples
{
  • "accountIdentifier": "string",
  • "orgIdentifier": "string",
  • "projectIdentifier": "string",
  • "config": { },
  • "type": "Connector"
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}