View User Groups for Project
get
/api/restapi/project/userGroups
Send a request to this endpoint to view the user groups accessible for the provided project.
Request
Query Parameters
-
inheritedUsers: boolean
Enabling this boolean flag will include all inherited users assigned to the user groups.
Allowed Values: [ "true", "false" ]Default Value:false
-
projectCode(required): string
Project code of the project to be found.
This is a required field. -
projectId(required): integer(int64)
ID of the project to be found.
This is a required field. -
workspaceCode(required): string
Workspace code of the project to be found.
This is a required field. -
workspaceId: integer(int64)
The system-generated identifier of a workspace.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ApiEntityUserGroups
Type:
object
Title:
Show Source
ApiEntityUserGroups
-
userGroups: array
userGroups
User Groups Data.
Nested Schema : userGroups
Type:
array
User Groups Data.
Show Source
-
Array of:
object ApiEntityUserGroup
Title:
ApiEntityUserGroup
Nested Schema : ApiEntityUserGroup
Type:
object
Title:
Show Source
ApiEntityUserGroup
-
assignedUsers: array
assignedUsers
List of assigned users in the user group.
-
displayName: string
Maximum Length:
255
Name of a user group. -
inherited: boolean
Indicates if the user group is inherited.
-
ownedWorkspaceId: integer
(int64)
The unique identifier of a workspace.
-
ownedWorkspaceName: string
The name of the owning workspace of the user group.
-
scope: string
Allowed Values:
[ "PROJECT", "WORKSPACE" ]
Indicates whether the user group is present in the workspace/project. -
scopeId: integer
(int64)
The unique identifier of a project/workspace.
-
userGroupEnabled: boolean
Indicates the state of the user group.
-
userGroupId: integer
(int64)
The unique identifier of a user group.
Nested Schema : assignedUsers
Type:
array
List of assigned users in the user group.
Show Source
-
Array of:
object ApiEntityAssignedUsers
Title:
ApiEntityAssignedUsers
Nested Schema : ApiEntityAssignedUsers
Type:
object
Title:
Show Source
ApiEntityAssignedUsers
-
displayName: string
The name displayed of the user when logged into the system.
-
userName: string
The identification used by a user to log in to the system.
204 Response
Successful operation with no content.
404 Response
Error loading user groups in the given project.