developer/api/v1/users/Revoke-GroupsAuthorization.ps1

function Revoke-GroupsAuthorization
{
    param(
        [Parameter(Mandatory)]
        [string] $AppAlias,
        [Parameter(Mandatory)]
        [string] $VersionAlias,
        [Parameter(Mandatory)]
        [string[]] $GroupIds
    )

    return Invoke-Api Delete "/developer/api/v1/apps/$AppAlias/versions/$VersionAlias/groups" -JsonBody @{
        "groupIds" = $GroupIds
    }
}