AccountSetting

This contains APIs related to Account Settings as defined in Harness

Get the AccountSetting by accountIdentifier

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

type
required
string
Value: "Connector"
Responses
400

Bad Request

500

Internal server error

default

Returns the AccountSetting with the requested accountIdentifier

get/ng/api/account-setting
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Get the AccountSetting by accountIdentifier

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

type
string
Value: "Connector"
Responses
400

Bad Request

500

Internal server error

default

Returns the list of AccountSettings with requested accountIdentifier

get/ng/api/account-setting/list
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Updates account settings

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:

Details of the AccountSetting to create

accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

config
required
object (AccountSettingConfig)

Configuration of the Account Settings.

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": [
    ]
}