Remove-AtriaWorkSpaceUserItem
SYNOPSIS
Removes one or more workspace list items from a specific user.
SYNTAX
Remove-AtriaWorkSpaceUserItem -CustomerId <Int> -UserId <Int> [-ListitemId <String[]>] [<CommonParameters>]
DESCRIPTION
Removes the assignment of one or more workspace list items from a specified user in the context of a customer by invoking the Atria API.
PARAMETERS
-
CustomerId
<Int>
(Required) The unique identifier (ID) of the customer to which the user belongs. -
UserId
<Int>
(Required) The unique identifier (ID) of the user whose list item assignments should be removed. -
ListitemId
<String[]>
(Optional) One or more workspace list item IDs to remove from the user. -
<CommonParameters>
Supports common parameters:Verbose
,Debug
,ErrorAction
,ErrorVariable
,WarningAction
,WarningVariable
,OutBuffer
,PipelineVariable
, andOutVariable
. More info: about_CommonParameters.
OUTPUTS
Returns the API response confirming the removal operation.
EXAMPLES
Example 1
Remove-AtriaWorkSpaceUserItem -CustomerId 1234 -UserId 5678 -ListitemId 1001,1002
Removes workspace list items with IDs 1001
and 1002
from user 5678
under customer 1234
.
NOTES
Ensure you've authenticated using Connect-AtriaApi
before invoking this function.