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
-
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
-
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.
400 Response
Invalid input for the Project service.