Assign Or unassign AppStacks To A target
Assign or unassign AppStacks to a target
{
"id": 0,
"action_type": "unassign",
"assignments": [
{
"entity_type": "Group",
"path": "CN=test1,CN=Users,DC=test,DC=local"
}
],
"mount_prefix": "DESK",
"rtime": false
}
The ID of the AppStack to assign or unassign.
Specifies whether to assign or unassign the assignment entities.
Prefix for computer names. Assignments only apply to computers whose name begins with the prefix.
Whether to perform the operation in real-time. Users must be logged into a VM to have AppStacks assigned immediately. Unassigning an AppStack while it is in use is not recommended, please ensure the AppStack is no longer in use.
Result of assignment/unassignment. Ignored assignments/unassignments are indicated as warnings.
{
"success": "Unassigned 1 AppStack(s)",
"successes": [
"Unassigned 1 AppStack(s)",
"Unassigned AppStack"
],
"warning": "Unable to find 2 AppStacks",
"warnings": [
"Unable to find AppStacks",
"Unable to find AppStacks"
]
}
success
successes
warning
warnings
Unable to assign/unassign due to invalid parameters.
{
"error": "No entities provided"
}
error
Session expired. Create a session and make the request with the _session_id cookie.
{
"error": "Session expired. Please login again."
}
Session expired. Create a session using and make the request with the _session_id cookie.
Unexpected failure.
{
"error": "Assigned AppStacks failed",
"errors": [
"Unable to save assignment of \"User <SNAPVOLUMES\\test_user-45>\" to \"Volume-55\"",
"Unable to save assignment of \"User <SNAPVOLUMES\\test_user-46>\" to \"Volume-56\""
]
}
error
errors