Add-AtriaWorkSpaceUserItem
SYNOPSIS
Adds one or more workspace list items to a specific user in the Atria workspace service.
SYNTAX
Add-AtriaWorkSpaceUserItem -CustomerId <Int> -UserId <Int> [-ListitemId <String[]>] [<CommonParameters>]
DESCRIPTION
Assigns one or more list items to a user within a customer context in the Atria workspace service. The function uses an action="Add"
payload to update the user's assigned items.
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 who will receive the list items. -
ListitemId
<String[]>
(Optional) One or more workspace list item IDs to assign to 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 user-item assignment.
EXAMPLES
Example 1
Add-AtriaWorkSpaceUserItem -CustomerId 1234 -UserId 5678 -ListitemId 1001,1002
Assigns workspace list items with IDs 1001
and 1002
to user 5678
under customer 1234
.
NOTES
Ensure you've authenticated using Connect-AtriaApi
before invoking this function.