public void deleteByScope(String scope, String lockName) {
        deleteByScopeWithServiceResponseAsync(scope, lockName).toBlocking().single().body();
    }
public void deleteByScope ( String scope , String lockName ) { deleteByScopeWithServiceResponseAsync ( scope , lockName ) . toBlocking ( ) . single ( ) . 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
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent