public Observable<Void> deleteByScopeAsync(String scope, String lockName) {
        return deleteByScopeWithServiceResponseAsync(scope, lockName).map(new Func1<ServiceResponse<Void>, Void>() {
            @Override
            public Void call(ServiceResponse<Void> response) {
                return response.body();
            }
        });
    }
public Observable < Void > deleteByScopeAsync ( String scope , String lockName ) { return deleteByScopeWithServiceResponseAsync ( scope , lockName ) . map ( new Func1 < ServiceResponse < Void > , Void > ( ) { @ Override public Void call ( ServiceResponse < Void > response ) { return response . body ( ) ; } } ) ; }
Delete a management lock by scope.

@param scope The scope for the lock.
@param lockName The name of lock.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceResponse} object if successful.