For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication Settings

This contains APIs related to Authentication settings as defined in Harness

Return configured Ldap settings for the account

get

Returns configured Ldap settings and its details for the account.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings/ldap/settings
GET /gateway/ng/api/authentication-settings/ldap/settings?accountIdentifier=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"
    }
  ]
}

Create Ldap setting

post

Creates Ldap settings along with the user, group queries.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This has the details of LDAP Settings supported in NG.

identifierstringRequired

This is the LDAP setting identifier.

displayNamestringRequired

This is the LDAP setting display name.

cronExpressionstringOptional

This is the cron expression in LDAP Settings.

nextIterationsinteger · int64[]Optional

This is the list of iterations for next LDAP sync job.

disabledbooleanOptional

This tells if LDAP Settings is disabled or not, LDAP sync won't happen in disabled state.

settingsTypestring · enumOptionalPossible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/authentication-settings/ldap/settings
POST /gateway/ng/api/authentication-settings/ldap/settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 916

{
  "connectionSettings": {
    "host": "text",
    "port": 1,
    "sslEnabled": true,
    "referralsEnabled": true,
    "maxReferralHops": 1,
    "bindDN": "text",
    "bindPassword": "text",
    "encryptedBindPassword": "text",
    "passwordType": "text",
    "bindSecret": [
      "text"
    ],
    "encryptedBindSecret": "text",
    "connectTimeout": 1,
    "responseTimeout": 1,
    "useRecursiveGroupMembershipSearch": true,
    "delegateSelectors": [
      "text"
    ],
    "passwordRef": "text",
    "accountId": "text",
    "settingType": "HOST_CONNECTION_ATTRIBUTES"
  },
  "identifier": "text",
  "userSettingsList": [
    {
      "baseDN": "text",
      "searchFilter": "text",
      "uidAttr": "text",
      "samAccountNameAttr": "text",
      "emailAttr": "text",
      "displayNameAttr": "text",
      "groupMembershipAttr": "text"
    }
  ],
  "groupSettingsList": [
    {
      "baseDN": "text",
      "searchFilter": "text",
      "nameAttr": "text",
      "descriptionAttr": "text",
      "userMembershipAttr": "text",
      "referencedUserAttr": "text"
    }
  ],
  "displayName": "text",
  "cronExpression": "text",
  "nextIterations": [
    1
  ],
  "disabled": true,
  "settingsType": "USER_PASSWORD"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Updates Ldap setting

put

Updates configured Ldap settings along with the user, group queries.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This has the details of LDAP Settings supported in NG.

identifierstringRequired

This is the LDAP setting identifier.

displayNamestringRequired

This is the LDAP setting display name.

cronExpressionstringOptional

This is the cron expression in LDAP Settings.

nextIterationsinteger · int64[]Optional

This is the list of iterations for next LDAP sync job.

disabledbooleanOptional

This tells if LDAP Settings is disabled or not, LDAP sync won't happen in disabled state.

settingsTypestring · enumOptionalPossible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/ldap/settings
PUT /gateway/ng/api/authentication-settings/ldap/settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 916

{
  "connectionSettings": {
    "host": "text",
    "port": 1,
    "sslEnabled": true,
    "referralsEnabled": true,
    "maxReferralHops": 1,
    "bindDN": "text",
    "bindPassword": "text",
    "encryptedBindPassword": "text",
    "passwordType": "text",
    "bindSecret": [
      "text"
    ],
    "encryptedBindSecret": "text",
    "connectTimeout": 1,
    "responseTimeout": 1,
    "useRecursiveGroupMembershipSearch": true,
    "delegateSelectors": [
      "text"
    ],
    "passwordRef": "text",
    "accountId": "text",
    "settingType": "HOST_CONNECTION_ATTRIBUTES"
  },
  "identifier": "text",
  "userSettingsList": [
    {
      "baseDN": "text",
      "searchFilter": "text",
      "uidAttr": "text",
      "samAccountNameAttr": "text",
      "emailAttr": "text",
      "displayNameAttr": "text",
      "groupMembershipAttr": "text"
    }
  ],
  "groupSettingsList": [
    {
      "baseDN": "text",
      "searchFilter": "text",
      "nameAttr": "text",
      "descriptionAttr": "text",
      "userMembershipAttr": "text",
      "referencedUserAttr": "text"
    }
  ],
  "displayName": "text",
  "cronExpression": "text",
  "nextIterations": [
    1
  ],
  "disabled": true,
  "settingsType": "USER_PASSWORD"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Delete Ldap settings

delete

Delete configured Ldap settings on this account.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
delete/authentication-settings/ldap/settings
DELETE /gateway/ng/api/authentication-settings/ldap/settings?accountIdentifier=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"
    }
  ]
}

Delete SAML meta data

delete

Deletes SAML metadata for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
delete/authentication-settings/delete-saml-metadata
DELETE /gateway/ng/api/authentication-settings/delete-saml-metadata?accountIdentifier=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"
    }
  ]
}

Delete SAML meta data for given SAML sso id

delete

Deletes SAML metadata for the given Account and SAML sso id

Path parameters
samlSSOIdstringRequired

Saml Settings Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
delete/authentication-settings/saml-metadata/{samlSSOId}/delete
DELETE /gateway/ng/api/authentication-settings/saml-metadata/{samlSSOId}/delete?accountIdentifier=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"
    }
  ]
}

Update authentication enabled or not for given SAML setting

put

Updates if authentication is enabled or not for given SAML setting in Account ID.

Path parameters
samlSSOIdstringRequired

Saml Settings Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

enablebooleanRequiredDefault: true
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/saml-metadata-upload/{samlSSOId}/authentication
PUT /gateway/ng/api/authentication-settings/saml-metadata-upload/{samlSSOId}/authentication?accountIdentifier=text&enable=true HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Gets authentication settings for the given Account ID

get

Gets authentication settings for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings
GET /gateway/ng/api/authentication-settings?accountIdentifier=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"
    }
  ]
}

Gets authentication settings version 2 for the given Account ID

get

Gets authentication settings version 2 for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings/v2
GET /gateway/ng/api/authentication-settings/v2?accountIdentifier=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"
    }
  ]
}

Get password strength

get

Gets password strength for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings/login-settings/password-strength
GET /gateway/ng/api/authentication-settings/login-settings/password-strength?accountIdentifier=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"
    }
  ]
}

Test SAML connectivity

get

Tests SAML connectivity for the given Account ID.

Query parameters
accountIdstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings/saml-login-test
GET /gateway/ng/api/authentication-settings/saml-login-test?accountId=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"
    }
  ]
}

Test SAML connectivity

get

Tests SAML connectivity for the given Account ID and SAML setting.

Path parameters
samlSSOIdstringRequired

Saml Settings Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/authentication-settings/saml-login-test/{samlSSOId}
GET /gateway/ng/api/authentication-settings/saml-login-test/{samlSSOId}?accountIdentifier=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"
    }
  ]
}

Delete OAuth Setting

delete

Deletes OAuth settings for a given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
delete/authentication-settings/oauth/remove-mechanism
DELETE /gateway/ng/api/authentication-settings/oauth/remove-mechanism?accountIdentifier=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"
    }
  ]
}

Enable/disable public access at account level

put

Enable/disable public access for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body
booleanOptional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/public-access
PUT /gateway/ng/api/authentication-settings/public-access?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 4

true
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Set session timeout at account level

put

Sets session timeout of all users for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This contains the information about the session timeout for this account in Harness.

sessionTimeOutInMinutesinteger · int32 · min: 30 · max: 4320Required

Any user of this account will be logged out if there is no activity for this number of minutes

absoluteSessionTimeOutInMinutesinteger · int32 · max: 4320Optional

Any user of this account will be logged out after this number of minutes

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/session-timeout-account-level
PUT /gateway/ng/api/authentication-settings/session-timeout-account-level?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "sessionTimeOutInMinutes": 1,
  "absoluteSessionTimeOutInMinutes": 1
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Set two factor authorization

put

Sets Two-Factor authorization for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This contains the information about the Two Factor Admin Override in Harness.

adminOverrideTwoFactorEnabledbooleanOptional

This value is true if Admin Override for Two Factor Authentication is enabled. Otherwise, it is false.

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/two-factor-admin-override-settings
PUT /gateway/ng/api/authentication-settings/two-factor-admin-override-settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: */*
Accept: */*
Content-Length: 38

{
  "adminOverrideTwoFactorEnabled": true
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Update Auth mechanism

put

Updates the authentication mechanism for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

authenticationMechanismstring · enumOptional

Type of Authentication Mechanism SSO or NON_SSO

Possible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/update-auth-mechanism
PUT /gateway/ng/api/authentication-settings/update-auth-mechanism?accountIdentifier=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"
    }
  ]
}

Update Oauth providers

put

Updates OAuth providers for the given Account ID.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This contains the information about OAuth settings defined in Harness.

filterstringOptional

Filter out the available OAuth providers.

settingsTypestring · enumOptionalPossible values:
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/oauth/update-providers
PUT /gateway/ng/api/authentication-settings/oauth/update-providers?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: */*
Accept: */*
Content-Length: 77

{
  "filter": "text",
  "allowedProviders": [
    "AZURE"
  ],
  "settingsType": "USER_PASSWORD"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Upload SAML metadata

post

Updates the SAML metadata for the given Account ID.

Query parameters
accountIdstringRequired

Account Identifier for the Entity.

Body
fileobjectOptional

Saml Metadata input file

displayNamestringOptional

Display Name of the SAML

groupMembershipAttrstringOptional

Group membership attribute

authorizationEnabledbooleanOptional

Specify whether or not to enable authorization

logoutUrlstringOptional

Logout URL

entityIdentifierstringOptional

SAML metadata Identifier

samlProviderTypestringOptional

SAML provider type

clientIdstringOptional

Optional SAML clientId for Azure SSO

clientSecretstringOptional

Optional SAML clientSecret reference string for Azure SSO

friendlySamlNamestringOptional

Friendly name of the app on SAML SSO provider end in Harness

jitEnabledbooleanOptional

Enable Just in time user provision

Default: false
jitValidationKeystringOptional

Optional Key to match in SAML assertion for Just in time user provision

jitValidationValuestringOptional

Optional Value to match in SAML assertion for Just in time user provision

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/authentication-settings/saml-metadata-upload
POST /gateway/ng/api/authentication-settings/saml-metadata-upload?accountId=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: multipart/form-data
Accept: */*
Content-Length: 545

{
  "file": {},
  "fileMetadata": {
    "type": "text",
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "fileName": "text",
    "creationDate": "2026-01-01T00:00:00.000Z",
    "modificationDate": "2026-01-01T00:00:00.000Z",
    "readDate": "2026-01-01T00:00:00.000Z",
    "size": 1,
    "name": "text"
  },
  "displayName": "text",
  "groupMembershipAttr": "text",
  "authorizationEnabled": true,
  "logoutUrl": "text",
  "entityIdentifier": "text",
  "samlProviderType": "text",
  "clientId": "text",
  "clientSecret": "text",
  "friendlySamlName": "text",
  "jitEnabled": false,
  "jitValidationKey": "text",
  "jitValidationValue": "text"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Update SAML metadata

put

Updates SAML metadata of the SAML configuration configured for an account

Query parameters
accountIdstringRequired

Account Identifier for the Entity.

Body
fileobjectOptional

SAML Metadata input file

displayNamestringOptional

Display Name of the SAML

groupMembershipAttrstringOptional

Group membership attribute

authorizationEnabledbooleanOptional

Specify whether or not to enable authorization

logoutUrlstringOptional

Logout URL

entityIdentifierstringOptional

SAML metadata Identifier

samlProviderTypestringOptional

SAML provider type

clientIdstringOptional

Optional SAML clientId for Azure SSO

clientSecretstringOptional

Optional SAML clientSecret reference string for Azure SSO

jitEnabledbooleanOptional

Enable Just in time user provision

Default: false
jitValidationKeystringOptional

Optional Key to match in SAML assertion for Just in time user provision

jitValidationValuestringOptional

Optional Value to match in SAML assertion for Just in time user provision

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/saml-metadata-upload
PUT /gateway/ng/api/authentication-settings/saml-metadata-upload?accountId=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: multipart/form-data
Accept: */*
Content-Length: 519

{
  "file": {},
  "fileMetadata": {
    "type": "text",
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "fileName": "text",
    "creationDate": "2026-01-01T00:00:00.000Z",
    "modificationDate": "2026-01-01T00:00:00.000Z",
    "readDate": "2026-01-01T00:00:00.000Z",
    "size": 1,
    "name": "text"
  },
  "displayName": "text",
  "groupMembershipAttr": "text",
  "authorizationEnabled": true,
  "logoutUrl": "text",
  "entityIdentifier": "text",
  "samlProviderType": "text",
  "clientId": "text",
  "clientSecret": "text",
  "jitEnabled": false,
  "jitValidationKey": "text",
  "jitValidationValue": "text"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Update SAML metadata for a given SAML SSO Id

put

Updates SAML metadata of the SAML configuration with given SSO Id, configured for an account

Path parameters
samlSSOIdstringRequired

Saml Settings Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body
fileobjectOptional

SAML Metadata input file

displayNamestringOptional

Display Name of the SAML

groupMembershipAttrstringOptional

Group membership attribute

authorizationEnabledbooleanOptional

Specify whether or not to enable authorization

logoutUrlstringOptional

Logout URL

entityIdentifierstringOptional

SAML metadata Identifier

samlProviderTypestringOptional

SAML provider type

clientIdstringOptional

Optional SAML clientId for Azure SSO

clientSecretstringOptional

Optional SAML clientSecret reference string for Azure SSO

friendlySamlNamestringOptional

Friendly name of the app on SAML SSO provider end in Harness

jitEnabledbooleanOptional

Enable Just in time user provision

Default: false
jitValidationKeystringOptional

Optional Key to match in SAML assertion for Just in time user provision

jitValidationValuestringOptional

Optional Value to match in SAML assertion for Just in time user provision

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/saml-metadata-upload/{samlSSOId}
PUT /gateway/ng/api/authentication-settings/saml-metadata-upload/{samlSSOId}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: multipart/form-data
Accept: */*
Content-Length: 545

{
  "file": {},
  "fileMetadata": {
    "type": "text",
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "fileName": "text",
    "creationDate": "2026-01-01T00:00:00.000Z",
    "modificationDate": "2026-01-01T00:00:00.000Z",
    "readDate": "2026-01-01T00:00:00.000Z",
    "size": 1,
    "name": "text"
  },
  "displayName": "text",
  "groupMembershipAttr": "text",
  "authorizationEnabled": true,
  "logoutUrl": "text",
  "entityIdentifier": "text",
  "samlProviderType": "text",
  "clientId": "text",
  "clientSecret": "text",
  "friendlySamlName": "text",
  "jitEnabled": false,
  "jitValidationKey": "text",
  "jitValidationValue": "text"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Updates the whitelisted domains

put

Updates whitelisted domains configured for an account.

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Bodystring[]
string[]Optional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
put/authentication-settings/whitelisted-domains
PUT /gateway/ng/api/authentication-settings/whitelisted-domains?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: */*
Accept: */*
Content-Length: 8

[
  "text"
]
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Upload SAML metadata

post

Updates the SAML metadata for the given Account ID.

Query parameters
accountIdstringRequired

Account Identifier for the Entity.

Body
fileobjectOptional

Saml Metadata input file

displayNamestringOptional

Display Name of the SAML

groupMembershipAttrstringOptional

Group membership attribute

authorizationEnabledbooleanOptional

Specify whether or not to enable authorization

logoutUrlstringOptional

Logout URL

entityIdentifierstringOptional

SAML metadata Identifier

samlProviderTypestringOptional

SAML provider type

clientIdstringOptional

Optional SAML clientId for Azure SSO

clientSecretstringOptional

Optional SAML clientSecret reference string for Azure SSO

friendlySamlNamestringOptional

Friendly name of the app on SAML SSO provider end in Harness

jitEnabledbooleanOptional

Enable Just in time user provision

Default: false
jitValidationKeystringOptional

Optional Key to match in SAML assertion for Just in time user provision

jitValidationValuestringOptional

Optional Value to match in SAML assertion for Just in time user provision

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/authentication-settings/saml-metadata
POST /gateway/ng/api/authentication-settings/saml-metadata?accountId=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: multipart/form-data
Accept: */*
Content-Length: 545

{
  "file": {},
  "fileMetadata": {
    "type": "text",
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "fileName": "text",
    "creationDate": "2026-01-01T00:00:00.000Z",
    "modificationDate": "2026-01-01T00:00:00.000Z",
    "readDate": "2026-01-01T00:00:00.000Z",
    "size": 1,
    "name": "text"
  },
  "displayName": "text",
  "groupMembershipAttr": "text",
  "authorizationEnabled": true,
  "logoutUrl": "text",
  "entityIdentifier": "text",
  "samlProviderType": "text",
  "clientId": "text",
  "clientSecret": "text",
  "friendlySamlName": "text",
  "jitEnabled": false,
  "jitValidationKey": "text",
  "jitValidationValue": "text"
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?