Remove User Groups Assigned to a Project
post
/api/restapi/project/removeUserGroups
Send a request to this endpoint to remove user groups from a project.
Request
Header Parameters
-
singleTransaction: boolean
Enabling this boolean flag fails to complete the request if an error occurred while processing any user group removal sent as part of the request.
Allowed Values: [ "true", "false" ]Default Value:false
Supported Media Types
- application/json
Root Schema : ApiEntityRemoveProjectUserGroupPermissions
Type:
object
Title:
Show Source
ApiEntityRemoveProjectUserGroupPermissions
-
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
userGroupIds: array
userGroupIds
List of user group IDs for removing user groups.
-
workspaceCode: string
Maximum Length:
60
The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Nested Schema : userGroupIds
Type:
array
List of user group IDs for removing user groups.
Show Source
Response
Supported Media Types
- application/json
207 Response
The object was successfully integrated.
Root Schema : List<ApiEntityRemoveProjectUserGroupPermissionsResponse>
Type:
array
Title:
Show Source
List<ApiEntityRemoveProjectUserGroupPermissionsResponse>
-
Array of:
object ApiEntityRemoveProjectUserGroupPermissionsResponse
Title:
ApiEntityRemoveProjectUserGroupPermissionsResponse
Nested Schema : ApiEntityRemoveProjectUserGroupPermissionsResponse
Type:
object
Title:
Show Source
ApiEntityRemoveProjectUserGroupPermissionsResponse
-
message: string
Error message or reason for operation failure is populated. The field is non-persistable and thus maximum length is not applicable.
-
projectId: integer
(int64)
The unique identifier for the project.
-
statusCode: integer
(int32)
The response code representing the state of the API operation.
-
userGroupId: string
System-defined identifier of the user group.
400 Response
Invalid input for the Project service.