public Observable<RoleDefinitionInner> deleteAsync(String scope, String roleDefinitionId) {
        return deleteWithServiceResponseAsync(scope, roleDefinitionId).map(new Func1<ServiceResponse<RoleDefinitionInner>, RoleDefinitionInner>() {
            @Override
            public RoleDefinitionInner call(ServiceResponse<RoleDefinitionInner> response) {
                return response.body();
            }
        });
    }
public Observable < RoleDefinitionInner > deleteAsync ( String scope , String roleDefinitionId ) { return deleteWithServiceResponseAsync ( scope , roleDefinitionId ) . map ( new Func1 < ServiceResponse < RoleDefinitionInner > , RoleDefinitionInner > ( ) { @ Override public RoleDefinitionInner call ( ServiceResponse < RoleDefinitionInner > response ) { return response . body ( ) ; } } ) ; }
Deletes a role definition.

@param scope The scope of the role definition.
@param roleDefinitionId The ID of the role definition to delete.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the RoleDefinitionInner object