Remove Users Assigned to a Workspace
post
/api/restapi/workspace/removeUsers
Send a request to this endpoint to remove users 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 removal sent as part of the request.
Allowed Values: [ "true", "false" ]Default Value:false
Supported Media Types
- application/json
Root Schema : ApiEntityRemoveWorkspaceUserPermissions
Type:
object
Title:
Show Source
ApiEntityRemoveWorkspaceUserPermissions
-
userNames: array
userNames
List of user names for removing users.
-
workspaceCode: string
Maximum Length:
60
The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier of a workspace.
Response
Supported Media Types
- application/json
207 Response
The object was successfully integrated.
Root Schema : List<ApiEntityRemoveWorkspaceUserPermissionsResponse>
Type:
array
Title:
Show Source
List<ApiEntityRemoveWorkspaceUserPermissionsResponse>
-
Array of:
object ApiEntityRemoveWorkspaceUserPermissionsResponse
Title:
ApiEntityRemoveWorkspaceUserPermissionsResponse
Nested Schema : ApiEntityRemoveWorkspaceUserPermissionsResponse
Type:
object
Title:
Show Source
ApiEntityRemoveWorkspaceUserPermissionsResponse
-
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.
-
userName: string
Maximum Length:
255
Username of the user for permission assignment. -
workspaceId: integer
(int64)
The unique identifier of a workspace.
400 Response
Invalid input.