Remove User Groups Assigned to a Workspace
post
/api/restapi/workspace/removeUserGroups
Send a request to this endpoint to remove user groups from a workspace.
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 : ApiEntityRemoveWorkspaceUserGroupPermissions
Type:
object
Title:
Show Source
ApiEntityRemoveWorkspaceUserGroupPermissions
-
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 of a workspace.
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<ApiEntityRemoveWorkspaceUserGroupPermissionsResponse>
Type:
array
Title:
Show Source
List<ApiEntityRemoveWorkspaceUserGroupPermissionsResponse>
-
Array of:
object ApiEntityRemoveWorkspaceUserGroupPermissionsResponse
Title:
ApiEntityRemoveWorkspaceUserGroupPermissionsResponse
Nested Schema : ApiEntityRemoveWorkspaceUserGroupPermissionsResponse
Type:
object
Title:
Show Source
ApiEntityRemoveWorkspaceUserGroupPermissionsResponse
-
message: string
Error message or reason for operation failure is populated. The field is non-persistable and thus maximum length is not applicable.
-
statusCode: integer
(int32)
The response code representing the state of the API operation.
-
userGroupId: string
System-defined identifier of the user group.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
400 Response
Invalid input.