User Group
This contains APIs related to User Group as defined in Harness
Check if the user is part of the user group in an account/org/project
Identifier of the user group
Identifier of the user
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
Return true/false based on whether the user is part of the user group
GET /gateway/ng/api/user-groups/{identifier}/member/{userIdentifier}?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"
}
]
}Add a user to the user group in an account/org/project
Identifier of the user group
Identifier of the user
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 user group after user addition
PUT /gateway/ng/api/user-groups/{identifier}/member/{userIdentifier}?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"
}
]
}Remove a user from the user group in an account/org/project
Identifier of the user group
Identifier of the user
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 user group after user removal
DELETE /gateway/ng/api/user-groups/{identifier}/member/{userIdentifier}?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"
}
]
}Copy a User Group in an account/org/project
Account Identifier for the Entity.
groupIdentifier
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 whether the copy was successful
PUT /gateway/ng/api/user-groups/copy?accountIdentifier=text&groupIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 80
[
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text"
}
]{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}List User Groups
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Search filter which matches by user group name/identifier
EXCLUDE_INHERITED_GROUPSPossible values: 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: ''
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the paginated list of the User Groups.
GET /gateway/ng/api/user-groups?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 a User Group in an account/org/project
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
User Group details defined in Harness.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Identifier of the UserGroup.
Name of the UserGroup.
List of users ids in the UserGroup.
Identifier of the linked SSO.
Name of the linked SSO.
Identifier of the userGroup in SSO.
Name of the SSO userGroup.
Type of linked SSO
Specifies whether or not the userGroup is externally managed.
Description of the entity
Specifies whether or not the userGroup is managed by harness.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the successfully created User Group
POST /gateway/ng/api/user-groups?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 14981
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"users": [
"text"
],
"notificationConfigs": [
{
"type": "EMAIL"
}
],
"linkedSsoId": "text",
"linkedSsoDisplayName": "text",
"ssoGroupId": "text",
"ssoGroupName": "text",
"linkedSsoType": "text",
"externallyManaged": true,
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"harnessManaged": true,
"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
},
"ssoLinked": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update a User Group in an account/org/project
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
User Group details defined in Harness.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Identifier of the UserGroup.
Name of the UserGroup.
List of users ids in the UserGroup.
Identifier of the linked SSO.
Name of the linked SSO.
Identifier of the userGroup in SSO.
Name of the SSO userGroup.
Type of linked SSO
Specifies whether or not the userGroup is externally managed.
Description of the entity
Specifies whether or not the userGroup is managed by harness.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the successfully updated User Group
PUT /gateway/ng/api/user-groups?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 14981
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"users": [
"text"
],
"notificationConfigs": [
{
"type": "EMAIL"
}
],
"linkedSsoId": "text",
"linkedSsoDisplayName": "text",
"ssoGroupId": "text",
"ssoGroupName": "text",
"linkedSsoType": "text",
"externallyManaged": true,
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"harnessManaged": true,
"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
},
"ssoLinked": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get a User Group in an account/org/project
Identifier of the user group
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 successfully fetched User Group
GET /gateway/ng/api/user-groups/{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"
}
]
}Delete User Group
Identifier of the user group
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 successfully deleted User Group
DELETE /gateway/ng/api/user-groups/{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 user group
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 User Group.
GET /gateway/ng/api/user-groups/{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"
}
]
}List the users in a User Group in an account/org/project
Identifier of the user group
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
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 string will be used to filter the results. Details of all the users having this string in their name or email address will be filtered.
Filter by User Identifiers
Filter by User Emails
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the paginated list of the users in a User Group.
POST /gateway/ng/api/user-groups/{identifier}/users?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"searchTerm": "text",
"identifiers": [
"text"
],
"emails": [
"text"
],
"parentFilter": "NO_PARENT_SCOPES"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier of the user group
LDAP entity identifier
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 User Group after linking LDAP Group
PUT /gateway/ng/api/user-groups/{userGroupId}/link/ldap/{ldapId}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"ldapGroupDN": "text",
"ldapGroupName": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier of the user group
OIDC Group entity identifier
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 User Group after linking OIDC Group
PUT /gateway/ng/api/user-groups/{userGroupId}/link/oidc/{providerId}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"oidcGroupName": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier of the user group
Saml Group entity identifier
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 User Group after linking SAML Group
PUT /gateway/ng/api/user-groups/{userGroupId}/link/saml/{samlId}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"samlGroupName": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}List the User Groups selected by a filter in an account/org/project. This api supports maximum of 10K User Group in response.
Account Identifier for the Entity.
This is the view of the UserGroupFilter entity defined in Harness
Filter by the internal database ids of user group
Filter by the user group identifier
Filter by the users present in the user group
Filter by account using account identifier
Filter by organization using account identifier
Filter by project using account identifier
Filter by search term matching entities by name/identifier
Filter by user group filterType
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of the user groups selected by a filter in a User Group.
POST /gateway/ng/api/user-groups/batch?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 226
{
"databaseIdFilter": [
"text"
],
"identifierFilter": [
"text"
],
"userIdentifierFilter": [
"text"
],
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"searchTerm": "text",
"filterType": "INCLUDE_INHERITED_GROUPS"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}List the User Groups selected by a filter in an account/org/project
Account Identifier for the Entity.
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 is the view of the UserGroupFilter entity defined in Harness
Filter by the internal database ids of user group
Filter by the user group identifier
Filter by the users present in the user group
Filter by account using account identifier
Filter by organization using account identifier
Filter by project using account identifier
Filter by search term matching entities by name/identifier
Filter by user group filterType
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of the user groups selected by a filter in a User Group.
POST /gateway/ng/api/user-groups/filter?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 226
{
"databaseIdFilter": [
"text"
],
"identifierFilter": [
"text"
],
"userIdentifierFilter": [
"text"
],
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"searchTerm": "text",
"filterType": "INCLUDE_INHERITED_GROUPS"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier of the user group
Retain currently synced members of the user group
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 User Group after unlinking SSO Group
PUT /gateway/ng/api/user-groups/{userGroupId}/unlink?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 a User Group in an account/org/project
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
User Group details defined in Harness.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Identifier of the UserGroup.
Name of the UserGroup.
List of users emails in the UserGroup. Maximum users can be 5000.
Identifier of the linked SSO.
Name of the linked SSO.
Identifier of the userGroup in SSO.
Name of the SSO userGroup.
Type of linked SSO
Specifies whether or not the userGroup is externally managed.
Description of the entity
Specifies whether or not the userGroup is managed by harness.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the successfully created User Group
POST /gateway/ng/api/v2/user-groups?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 432
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"users": [
"text"
],
"notificationConfigs": [
{
"type": "EMAIL"
}
],
"isSsoLinked": true,
"linkedSsoId": "text",
"linkedSsoDisplayName": "text",
"ssoGroupId": "text",
"ssoGroupName": "text",
"linkedSsoType": "text",
"externallyManaged": true,
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"harnessManaged": true,
"ssoLinked": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update a User Group in an account/org/project
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
User Group details defined in Harness.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Identifier of the UserGroup.
Name of the UserGroup.
List of users emails in the UserGroup. Maximum users can be 5000.
Identifier of the linked SSO.
Name of the linked SSO.
Identifier of the userGroup in SSO.
Name of the SSO userGroup.
Type of linked SSO
Specifies whether or not the userGroup is externally managed.
Description of the entity
Specifies whether or not the userGroup is managed by harness.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the successfully updated User Group
PUT /gateway/ng/api/v2/user-groups?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 432
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"users": [
"text"
],
"notificationConfigs": [
{
"type": "EMAIL"
}
],
"isSsoLinked": true,
"linkedSsoId": "text",
"linkedSsoDisplayName": "text",
"ssoGroupId": "text",
"ssoGroupName": "text",
"linkedSsoType": "text",
"externallyManaged": true,
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"harnessManaged": true,
"ssoLinked": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get a User Group in an account/org/project
Identifier of the user group
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 successfully fetched User Group
GET /gateway/ng/api/v2/user-groups/{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"
}
]
}Last updated
Was this helpful?