Service Account
This has all the APIs specific to the Service Accounts in Harness.
Fetches list of Service Accounts for the given filter criteria.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the list of Service Account IDs. Details specific to these IDs would be fetched.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of Service Accounts.
GET /gateway/ng/api/serviceaccount?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"
}
]
}Creates a new Service Account.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This has the details of Service Account in Harness.
Identifier of the Service Account.
Name of the Service Account.
Email of the Service Account.
Description of the Service Account.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns details of the created Service Account
POST /gateway/ng/api/serviceaccount?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 14758
{
"identifier": "text",
"name": "text",
"email": "text",
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"governanceMetadata": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": "[Circular Reference]",
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": "[Circular Reference]",
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
"[Circular Reference]"
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
"[Circular Reference]"
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Updates details of the Service Account for the given Service Account ID.
Service Account ID
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This has the details of Service Account in Harness.
Identifier of the Service Account.
Name of the Service Account.
Email of the Service Account.
Description of the Service Account.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the updated Service Account details.
PUT /gateway/ng/api/serviceaccount/{identifier}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 14758
{
"identifier": "text",
"name": "text",
"email": "text",
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"governanceMetadata": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": {
"unknownFields": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": {
"empty": true,
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"parserForType": {},
"serializedSize": 1,
"serializedSizeAsMessageSet": 1,
"initialized": true
},
"message": "text",
"id": "text",
"type": "text",
"timestamp": 1,
"projectId": "text",
"status": "text",
"entity": "text",
"action": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": "[Circular Reference]",
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": "[Circular Reference]",
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
"[Circular Reference]"
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
"[Circular Reference]"
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
},
"parserForType": {},
"serializedSize": 1,
"typeBytes": {
"empty": true,
"validUtf8": true
},
"messageBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"deny": true,
"detailsList": [
{
"unknownFields": "[Circular Reference]",
"description": "text",
"projectId": "text",
"status": "text",
"defaultInstanceForType": "[Circular Reference]",
"parserForType": {},
"serializedSize": 1,
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"initialized": true,
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
],
"idBytes": {
"empty": true,
"validUtf8": true
},
"detailsCount": 1,
"detailsOrBuilderList": [
{
"description": "text",
"projectId": "text",
"status": "text",
"identifierBytes": {
"empty": true,
"validUtf8": true
},
"statusBytes": {
"empty": true,
"validUtf8": true
},
"accountId": "text",
"accountIdBytes": {
"empty": true,
"validUtf8": true
},
"orgId": "text",
"orgIdBytes": {
"empty": true,
"validUtf8": true
},
"projectIdBytes": {
"empty": true,
"validUtf8": true
},
"created": 1,
"policySetIdBytes": {
"empty": true,
"validUtf8": true
},
"deny": true,
"policyMetadataList": "[Circular Reference]",
"policyMetadataCount": 1,
"policyMetadataOrBuilderList": "[Circular Reference]",
"policySetName": "text",
"policySetNameBytes": {
"empty": true,
"validUtf8": true
},
"descriptionBytes": {
"empty": true,
"validUtf8": true
},
"policySetId": "text",
"identifier": "text",
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": "[Circular Reference]",
"unknownFields": "[Circular Reference]",
"initializationErrorString": "text",
"defaultInstanceForType": "[Circular Reference]",
"initialized": true
}
],
"entityBytes": {
"empty": true,
"validUtf8": true
},
"actionBytes": {
"empty": true,
"validUtf8": true
},
"initialized": true,
"allFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"descriptorForType": {
"index": 1,
"proto": "[Circular Reference]",
"options": "[Circular Reference]",
"fullName": "text",
"file": "[Circular Reference]",
"containingType": "[Circular Reference]",
"nestedTypes": "[Circular Reference]",
"enumTypes": "[Circular Reference]",
"fields": "[Circular Reference]",
"extensions": "[Circular Reference]",
"oneofs": "[Circular Reference]",
"name": "text",
"extendable": true,
"realOneofs": "[Circular Reference]"
},
"initializationErrorString": "text",
"memoizedSerializedSize": 1
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Deletes a Service Account corresponding to the given Service Account ID.
Service Account ID
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
It returns true if the Service Account is deleted successfully and false if the Service Account is not deleted.
DELETE /gateway/ng/api/serviceaccount/{identifier}?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 the list of Service Accounts in the given scope.
Service Account IDr
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Service Account details corresponding to the specified Account Identifier and Service Account Identifier
GET /gateway/ng/api/serviceaccount/aggregate/{identifier}?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"
}
]
}List the Child Scopes inheriting this User Group
Identifier of the Service Account
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of the child scopes inheriting this Service Account.
GET /gateway/ng/api/serviceaccount/{identifier}/scopes?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"
}
]
}Fetches the list of Aggregated Service Accounts corresponding to the request's filter criteria.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the list of Service Account IDs. Details specific to these IDs would be fetched.
Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
This would be used to filter Service Accounts. Any Service Account having the specified string in its Name, ID and Tag would be filtered.
EXCLUDE_INHERITED_SERVICE_ACCOUNTSPossible values: Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the paginated list of Aggregated Service Accounts.
GET /gateway/ng/api/serviceaccount/aggregate?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"
}
]
}Fetches the list of Service Accounts for which the user has manage API key permission.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the list of Service Account IDs. Details specific to these IDs would be fetched.
Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
This would be used to filter Service Accounts. Any Service Account having the specified string in its Name, ID and Tag would be filtered.
EXCLUDE_INHERITED_SERVICE_ACCOUNTSPossible values: Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the paginated list of manageable Service Accounts.
GET /gateway/ng/api/serviceaccount/manageable?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"
}
]
}Last updated
Was this helpful?