entitlement_remove
Revoke desktop-pool access from AD user/group SIDs. Displays the blast radius of affected principals before applying changes.
Instructions
[WRITE] Revoke desktop-pool access from AD user/group SID(s).
Get SIDs from entitlement_list. A bare call returns blast_radius (pool identity, which principals lose access and which were not entitled) and revokes nothing; confirm=True revokes. Refused when the pool's current entitlements cannot be read. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True revokes. | |
| pool_id | Yes | The desktop-pool id (from pool_list). | |
| ad_user_or_group_ids | Yes | AD SIDs to remove (from entitlement_list). |