public Observable<ServiceResponse<OperationStatus>> deleteWithServiceResponseAsync(UUID appId, DeletePermissionsOptionalParameter deleteOptionalParameter) {
        if (this.client.endpoint() == null) {
            throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cannot be null.");
        }
        if (appId == null) {
            throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
        }
        final String email = deleteOptionalParameter != null ? deleteOptionalParameter.email() : null;

        return deleteWithServiceResponseAsync(appId, email);
    }
public Observable < ServiceResponse < OperationStatus > > deleteWithServiceResponseAsync ( UUID appId , DeletePermissionsOptionalParameter deleteOptionalParameter ) { if ( this . client . endpoint ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.endpoint() is required and cannot be null." ) ; } if ( appId == null ) { throw new IllegalArgumentException ( "Parameter appId is required and cannot be null." ) ; } final String email = deleteOptionalParameter != null ? deleteOptionalParameter . email ( ) : null ; return deleteWithServiceResponseAsync ( appId , email ) ; }
Removes a user from the allowed list of users to access this LUIS application. Users are removed using their email address.

@param appId The application ID.
@param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the OperationStatus object