Product: Control Center, Windows PowerShell
Applicable Version(s): HYPR 6.10+
This process requires Administrator access to HYPR Control Center and Windows PowerShell.
Instructions
set $hypr_token set $userToDelete set $hypr_appId $hypr_host = "https://host.domain.com" $hypr_token = "##########################" $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("Content-Type", "application/json; charset=utf-8;") $headers.Add("Authorization", "Bearer $hypr_token") $headers.Add("accept", "*/*") $headers.Add("sec-fetch-mode", "cors") $headers.Add("accept-encoding", "gzip, deflate, br") $headers.Add("accept-language","en-US,en;q=0.9") $userToDelete = "user.name@domain.com" $hypr_appId = "Demo" $body = @" { "appId": "$hypr_appId", "username": "$userToDelete", } "@ $params = @{ Uri = "$hypr_host" + "/cc/api/rpUser/delete" Headers = $headers Method = 'POST' ContentType = 'application/json' Body = $body } $response = Invoke-RestMethod @params $response | ConvertTo-Json
The specified user will be deleted from HYPR Control Center.
Version | Date | Comment |
---|---|---|
Current Version (v. 3) | Apr 25, 2023 8:49 | Nilesh Doiphode |
v. 2 | May 06, 2022 18:20 | Khedron de Leon |
v. 1 | Oct 29, 2021 21:53 | Nilesh Doiphode |