Accounts
This contains APIs related to accounts as defined in Harness
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns an account
GET /gateway/ng/api/accounts/{accountIdentifier} HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a list of all enabled feature flags in the account
GET /gateway/ng/api/accounts/feature-flags/{accountIdentifier} HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns true if immutable delegate is enabled for account
GET /gateway/ng/api/accounts/{accountIdentifier}/immutable-delegate-enabled HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Account License Status for the Entity.
Account License Type for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns an boolean
PUT /gateway/ng/api/accounts/license/update/{accountIdentifier}?accountStatus=text&accountType=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Account details defined in Harness.
Account Identifier.
Name of the Account.
Name of the Company.
Type of the Account
Status of the Account
Name of the cluster associated with this Account.
Default experience of the Account.
Authentication mechanism associated with the account.
Account creation time in epoch
Account's license expiry time in epoch
Specifies delegate ring version for account
Specifies subdomain url for account
SessionTimeout in minutes
Specifies if Account has public access enabled.
Absolute SessionTimeout in minutes
Specifies the pricing type of account
Specified the edition of account in flex pricing model
Contract Start Date in epoch
Contract End Date in epoch
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns an account
PUT /gateway/ng/api/accounts/{accountIdentifier}/name HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 686
{
"identifier": "text",
"name": "text",
"companyName": "text",
"accountType": "text",
"accountStatus": "text",
"cluster": "text",
"defaultExperience": "NG",
"authenticationMechanism": "USER_PASSWORD",
"serviceAccountConfig": {
"apiKeyLimit": 1,
"tokenLimit": 1
},
"createdAt": 1,
"expiryTime": 1,
"ringName": "text",
"subdomainURL": "text",
"sessionTimeoutInMinutes": 1,
"publicAccessEnabled": true,
"absoluteSessionTimeoutInMinutes": 1,
"pricingType": "FLEX",
"edition": "COMMUNITY",
"contractStartDate": 1,
"contractEndDate": 1,
"harnessSupportAccessAllowed": true,
"nextGenEnabled": true,
"twoFactorAdminEnforced": true,
"oauthEnabled": true,
"productLed": true,
"crossGenerationAccessEnabled": true,
"cannyUsernameAbbreviationEnabled": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Account details defined in Harness.
Account Identifier.
Name of the Account.
Name of the Company.
Type of the Account
Status of the Account
Name of the cluster associated with this Account.
Default experience of the Account.
Authentication mechanism associated with the account.
Account creation time in epoch
Account's license expiry time in epoch
Specifies delegate ring version for account
Specifies subdomain url for account
SessionTimeout in minutes
Specifies if Account has public access enabled.
Absolute SessionTimeout in minutes
Specifies the pricing type of account
Specified the edition of account in flex pricing model
Contract Start Date in epoch
Contract End Date in epoch
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns an account
PUT /gateway/ng/api/accounts/{accountIdentifier}/default-experience HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 686
{
"identifier": "text",
"name": "text",
"companyName": "text",
"accountType": "text",
"accountStatus": "text",
"cluster": "text",
"defaultExperience": "NG",
"authenticationMechanism": "USER_PASSWORD",
"serviceAccountConfig": {
"apiKeyLimit": 1,
"tokenLimit": 1
},
"createdAt": 1,
"expiryTime": 1,
"ringName": "text",
"subdomainURL": "text",
"sessionTimeoutInMinutes": 1,
"publicAccessEnabled": true,
"absoluteSessionTimeoutInMinutes": 1,
"pricingType": "FLEX",
"edition": "COMMUNITY",
"contractStartDate": 1,
"contractEndDate": 1,
"harnessSupportAccessAllowed": true,
"nextGenEnabled": true,
"twoFactorAdminEnforced": true,
"oauthEnabled": true,
"productLed": true,
"crossGenerationAccessEnabled": true,
"cannyUsernameAbbreviationEnabled": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?